Background for Fallout 4
Member of the ObjectReference script
boolfunctionPlaySyncedAnimationAndWaitSS(stringasAnimation1, stringasEvent1, ObjectReferenceakObj2, stringasAnimation2, stringasEvent2)Native

[DEV SERVER] Loading description...


Caveats


Parameters

stringasAnimation1

CK Wiki Description

The animation to play on this object.

stringasEvent1

CK Wiki Description

The behavior graph event to listen for from this object.

ObjectReferenceakObj2

CK Wiki Description

The second object to play an animation on.

stringasAnimation2

CK Wiki Description

The animation to play on the second object.

stringasEvent2

CK Wiki Description

The behavior graph event to listen for from the other object.


Examples

; Have Bob and Jane both play cheering animations at the same time, waiting for "done" from each
Bob.PlaySyncedAnimationAndWaitSS("cheer", "done", Jane, "cheer", "done")

Auto-Generated Example

string myString__asAnimation1
string myString__asEvent1
ObjectReference myObjectReference__akObj2
string myString__asAnimation2
string myString__asEvent2

bool returnedValue = myObjectReference__toCallFunctionOn.PlaySyncedAnimationAndWaitSS(myString__asAnimation1, myString__asEvent1, myObjectReference__akObj2, myString__asAnimation2, myString__asEvent2)

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.