Arma 3 Scripting

Command in Animations

playActionNow

Also available as Markdown and JSON, or read the original wiki page.

Description

When used on a person, a smooth transition to the given action will be initiated, but all previous playAction are discarded.

Note

Arma 3: For Arma 3 actions, see playAction/actions.

Syntax

soldier playActionNow action

Parameters:

Returns: Nothing

Examples

Example 1

soldierOne playActionNow "SitDown";

Example 2

rabbitTwo playActionNow "WalkF";

See also

playAction · switchAction · playMove · playMoveNow · switchMove

Community notes

Wolfrug

Some other possible playactions:

  • "walkF" - walk forward
  • "walkB" - walk backwards
  • "walkR" - strafe right
  • "walkL" - strafe left
  • "grabDrag" - initiate First Aid dragging animation
  • "stopDrag" - stop First Aid dragging animation
  • "reloadMagazine" - reload the current magazine
  • "gestureFreeze" - hand signal "Freeze"
  • "gestureGo"
  • "gestureCover"
  • "gestureAttack"
  • "gestureCeaseFire"
  • "gestureFollow"
  • "gestureUp"
  • "gestureAdvance"
  • "gesturePoint"

Note that playAction works regardless of stance (rifle up, down, crouched, prone).

h -

Playing a gesture with playActionNow while a soldier held weapon is deployed on something will 'undeploy' the weapon. Using playAction doesn't.