Skip to content

41 — Play Anim At

Creates an inert animation at a waypoint, adjusted to terrain or bridge height.

Editor data
Numeric ID
41
Engine ID
TACTION_PLAY_ANIM
Editor name
Play Anim At...
Need token
NEED_ANIM_AND_LOCATION
Parameters
  1. Animationanimation
  2. Waypointwaypoint
Attachment
none
INI example
[Actions]
<TriggerID>=1,41,0,<Animation>,0,0,0,0,<Waypoint>
map file
[Waypoints]
12=80080 ; waypoint 12 serializes as the letter label M
[Actions]
DemoPlayAnim=1,41,0,7,0,0,0,0,M ; trigger DemoPlayAnim plays AnimType index 7 at waypoint M

At execution, the action creates the loaded AnimType at that waypoint, using the cell’s terrain height plus the bridge offset when applicable.

Valid values

  • A valid loaded AnimType table index and a valid scenario waypoint.
Caveats
  • The created animation is explicitly inert and cannot apply animation damage at the waypoint.
  • A cell under a bridge receives the bridge-height offset.