Skip to content

51 — Play Anim

Attaches an animation to every member so that it travels along with them.

Editor data
Numeric ID
51
Engine ID
TMISSION_PLAY_ANIM
Editor name
Play Anim
Need token
NEED_ANIM
Parameters
  1. Animationanimation
  2. Loop countinteger

LoopCount explains how the loop count and the animation’s own setting combine. Damage sets the damage an animation deals. The Play Anim At trigger action plays an animation at a waypoint without that damage.

Valid values

  • One number that holds both parameters: the loop count times 65536, plus the animation's position in the registered animation list, counted from 0. 131079 plays animation 7 with a loop count of 2.
Caveats
  • Each member gets its own copy of the animation, attached so that it moves with the member. The animation is created on the turn the line is reached and not again, so a member that joins the team afterward gets none.
  • The loop count multiplies the animation type's LoopCount. A loop count below 1 counts as 1.
  • The animation is not made harmless. An animation type that sets Damage deals it where the member stands, to the member itself as well.
  • An animation position outside the registered list creates nothing, and the team still takes the next line.
  • The line does not hold the team: it runs once and the team takes the next line of its script on the following turn.