Arma 3 Scripting

switchAction

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Command · also in Animations · Markdown · JSON · original wiki page

Description

When used on a person, the given action is started immediately (there is no transition). Use switchmove "" to switch back to the default movement if there is no transition back, otherwise the person may be stuck.

Syntax

soldier switchAction action

Parameters:

Returns: Nothing

Examples

Example 1

soldierOne switchAction "SitDown";

See also

playAction · playActionNow · switchMove