WaitForAnimationEvent - ObjectReference
Revision as of 13:53, 11 November 2011 by imported>Scornett (Reverted edits by Scornett-Bot (talk) to last revision by Jlundin)
Member of: ObjectReference Script
Waits for the specified animation event from this object to happen before returning.
Syntax[edit | edit source]
bool Function WaitForAnimationEvent(string asEventName) native
Parameters[edit | edit source]
- asEventName: The event to wait for
Return Value[edit | edit source]
True if the event happened, false if the animation graph unloaded before the event was sent.
Examples[edit | edit source]
; Wait for the done event to happen before continuing
CoolThing.WaitForAnimationEvent("done")