ScriptName test1 Extends ActiveMagicEffectAuto State InitEvent OnEffectStart(Actor akTarget, Actor akCaster) Debug.Notification("Msg1") GoToState("State1")EndEventEndStateState State1Event OnBeginState() Debug.Notification("State1 started")EndEventEvent OnObjectUnequipped(Form akBaseObject, ObjectReference akReference) Debug.Notification("Something unequipped")EndEventEndState
The script is added to a magic effect, which is added to a spell, which the player can cast to self. The spell is added to player by a quest.
It shows correctly the notifications "Msg1" and "State1 started", but won't show the "Something unequipped" message when I unequip an item. It seems the event is never detected by this script
Where is the problem?