EddieTheEagle Posted November 15, 2020 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?
dylbill Posted November 15, 2020 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
EddieTheEagle Posted November 15, 2020 Author 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
Recommended Posts