WaitForAnimationEvent - ObjectReference
Jump to navigation
Jump to search
Member of: ObjectReference Script
Waits for the specified animation event from this object to happen before returning.
Syntax
bool Function WaitForAnimationEvent(string asEventName) nativeParameters
- asEventName: The event to wait for
Return Value
True if the event happened, false if the animation graph unloaded before the event was sent.
Examples
; Wait for the done event to happen before continuing
CoolThing.WaitForAnimationEvent("done")