This is my trigger script for the drink potion animation feature in my mod.
Can anyone see WHY this is now triggering just when the player "picks up" a potion into their inventory?
This same script has been working for over 2 years now all the sudden I just noticed I am getting this issue.
Event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer)
if (me.IsDead())
return
endif
If !akItemReference
If !akDestContainer
If akBaseItem.HasKeyword(VendorItemPotion)
If me.IsOnMount() == false
GoToState("BusyState")
DrinkAnima()
GoToState("NormalState")
endif
endif
endif
endif
endevent