WaitForAnimationEvent - ObjectReference
Revision as of 18:47, 16 October 2016 by imported>Qazaaq (animation category)
Member of: ObjectReference Script
Waits for the specified animation event from this object to happen before returning.
SyntaxEdit
bool Function WaitForAnimationEvent(string asEventName) native
ParametersEdit
- asEventName: The event to wait for
Return ValueEdit
True if the event happened, false if the animation graph unloaded before the event was sent.
ExamplesEdit
; Wait for the done event to happen before continuing
CoolThing.WaitForAnimationEvent("done")