Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.00

Description

Description:

Immediately transitions the unit to the target animation, defined by the current action map the unit is in (standing with rifle, prone with pistol, and so on).

For additional information, see playAction.

Syntax

Syntax:unit switchAction action
Parameters:
  • unit: Object - Affected unit.
  • action: String - Action-based animation.
Return Value:Nothing

Examples

Examples:soldierOne switchAction "SitDown"

Additional Information

See also: playAction, switchMove
Multiplayer:
Problems:

Notes