Arma 3 Scripting

Command in Unit Control, Animations

switchAction

Also available as Markdown and JSON, or read the 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