unitName switchAction action

Operand types

unitName: Object
action: String

Type of returned value

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.

Used In

Arma2

Example

soldierOne switchAction "SitDown"
Search OFPEC COMREF