PlaySyncedAnimationSS - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

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.

Syntax

bool Function PlaySyncedAnimationSS(string asAnimation1, ObjectReference akObj2, string asAnimation2) native

Parameters

  • asAnimation1: The animation to play on this object.
  • akObj2: The second object to play an animation on.
  • asAnimation2: The animation to play on the second object.

Return Value

True if either of the animations are fired off (or both). Only returns false if both animations fail to start.

Examples

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

See Also