EddieTheEagle Posted November 15, 2020 Share Posted November 15, 2020 Does anyone here know if it's possible to check if the player consumes a specific potion/ingredient, without attaching anything to the potion or ingredient (effects from them also) directly? Link to comment Share on other sites More sharing options...
dylbill Posted November 15, 2020 Share Posted November 15, 2020 Yes, you can use a reference alias that points at the player, or put a spell ability on the player. Attach a script to either with the onObjectEquipped event. Potion Property SomePotion Auto Event OnObjectEquipped(Form akBaseObject, ObjectReference akReference) If akBaseObject == SomePotion ;do something Endif EndEvent Link to comment Share on other sites More sharing options...
EddieTheEagle Posted November 15, 2020 Author Share Posted November 15, 2020 (edited) Yes, you can use a reference alias that points at the player, or put a spell ability on the player. Attach a script to either with the onObjectEquipped event. Potion Property SomePotion Auto Event OnObjectEquipped(Form akBaseObject, ObjectReference akReference) If akBaseObject == SomePotion ;do something Endif EndEvent Thanks you are amazing, I attached it to a magic effect on a new spell.Can't believe it was that easy. Edited November 15, 2020 by EddieTheEagle Link to comment Share on other sites More sharing options...
dylbill Posted November 15, 2020 Share Posted November 15, 2020 No problem, happy modding! Link to comment Share on other sites More sharing options...
Recommended Posts