Arma 3 Scripting

currentCommand

  • Arma 3 v0.50
  • First in Armed Assault v1.00

Command · Markdown · JSON · original wiki page

Description

Return the current command type (empty string when no command) for the commander of given vehicle (or for a given soldier). Returned value can be one of:

Syntax

currentCommand vehicleName

Parameters:

Returns: String

Examples

Example 1

_command = currentCommand player;

See also

commandFire · commandMove · commandSuppressiveFire · join