currentCommand vehicleName

Operand types

vehicleName: Object

Type of returned value

Description

Returns the current command type (empty string when no command).
Value returned can be one of:

* "WAIT"
* "ATTACK"
* "HIDE"
* "MOVE"
* "HEAL"
* "REPAIR"
* "REFUEL"
* "REARM"
* "SUPPORT"
* "JOIN"
* "GET IN"
* "FIRE"
* "GET OUT"
* "STOP"
* "EXPECT"
* "ACTION"
* "ATTACKFIRE"

Used In

ArmA

Example

_command = currentCommand tankTwo
Search OFPEC COMREF