UnregisterForAnimationEvent - Form
Unregisters this active magic effect/alias/form from the specified animation event on the specified reference.
Function UnregisterForAnimationEvent(ObjectReference akSender, string asEventName) native
- akSender: The ObjectReference the event was coming from.
- asEventName: The event to no longer listen for.
; Stop listening for the "reset" animation event from the object we are attached to UnregisterForAnimationEvent(self, "Reset")
- Aliases and quests will automatically unregister for this event when the quest stops. Active magic effects will automatically unregister when they are removed.
- This function doesn't work if called within an OnAnimationEvent unless there is a wait preceding it.