Background for Skyrim SE
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 Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.