Arma 3 Scripting

getUnitState

  • Local argument
  • Arma 3 v2.18

Command · Markdown · JSON · original wiki page

Description

Returns current state of the given AI unit, which could be one of the following:

Syntax

getUnitState unit

Parameters:

Returns: String - unit state (see description)

Examples

Example 1

_state = getUnitState bob; //"WAIT"

See also

disableAI · enableAI · checkAIFeature · enableAIFeature · vehicleMoveInfo · expectedDestination