Arma 3 Scripting

Command in Unit Control

currentCommand

Also available as Markdown and JSON, or read the 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