Description
Return the current task of the unit in the formation.
Syntax
formationTask unit
Parameters:
unit: Object
Returns: String: "EXCLUDED", "MOVE", "COVER", "LEADER", "NOTHING"
Examples
Example 1
_currentTask = formationTask _unit;
Also available as Markdown and JSON, or read the original wiki page.
Return the current task of the unit in the formation.
formationTask unit
Parameters:
unit: ObjectReturns: String: "EXCLUDED", "MOVE", "COVER", "LEADER", "NOTHING"
_currentTask = formationTask _unit;