Arma 3 Scripting

Command in Groups

formationTask

Also available as Markdown and JSON, or read the original wiki page.

Description

Return the current task of the unit in the formation.

Syntax

formationTask unit

Parameters:

Returns: String: "EXCLUDED", "MOVE", "COVER", "LEADER", "NOTHING"

Examples

Example 1

_currentTask = formationTask _unit;

See also

setFormationTask