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

Description

Wiki Description

Plays two animations at once. Note that if the first animation fails to fire, the second animation will still play, and the function will still return success.

Documentation Comment

Play two animations at once - one on this object, one on another object


Caveats


Parameters

stringasAnimation1

CK Wiki Description

The animation to play on 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.


Examples

; Have Bob and Jane both play cheering animations at the same time
Bob.PlaySyncedAnimationSS("cheer", Jane, "cheer")

Auto-Generated Example

string myString__asAnimation1
ObjectReference myObjectReference__akObj2
string myString__asAnimation2

bool returnedValue = myObjectReference__toCallFunctionOn.PlaySyncedAnimationSS(myString__asAnimation1, myObjectReference__akObj2, myString__asAnimation2)

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.