- Found in:
- Vanilla
eventOnAnimationEventUnregistered(ObjectReferenceakSource, stringasEventName)
[DEV SERVER] Loading description...
Caveats
CK Wiki - Notes
- Aliases and quests will automatically unregister for this event when the quest stops. Active magic effects will automatically unregister when they are removed.
Parameters
stringasEventName
CK Wiki Description
The event that can no longer be received.
Examples
Function SomeFunction()
RegisterForAnimationEvent(JoeBob, "IdleFurnitureExit") ; Before we can use OnAnimationEvent we must register.
EndFunction
Event OnAnimationEventUnregistered(ObjectReference akSource, string asEventName)
if (akSource == JoeBob) && (asEventName == "IdleFurnitureExit")
Debug.Trace("We got unregistered for JoeBob's funiture exit event, do any necessary cleanup here")
endIf
endEventAuto-Generated Example
Scriptname MyCoolScript extends ScriptObject
event OnAnimationEventUnregistered(ObjectReference akSource, string asEventName)
Debug.trace("Event received - OnAnimationEventUnregistered: akSource = " + akSource + " asEventName = " + asEventName)
endEvent