Background for Fallout 4
Member of the ObjectReference script
boolfunctionWaitForAnimationEvent(stringasEventName)Native

Description

Wiki Description

Waits for the specified animation event from this object to happen before returning.

Documentation Comment

Waits for the animation graph to send the specified event


Caveats


Parameters

stringasEventName

CK Wiki Description

The event to wait for


Examples

; Wait for the done event to happen before continuing
CoolThing.WaitForAnimationEvent("done")

Auto-Generated Example

string myString__asEventName

bool returnedValue = myObjectReference__toCallFunctionOn.WaitForAnimationEvent(myString__asEventName)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.