formationTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (page formatting)
m (Text replacement - "{{Feature|important|This command is not available in {{arma2}}.}}" to "{{Feature|arma2|This command is not available in {{arma2}}.}}")
Line 7: Line 7:
|gr1= Groups
|gr1= Groups


|descr= Return the current task of the unit in the formation. {{Feature|important|This command is not available in {{arma2}}.}}
|descr= Return the current task of the unit in the formation. {{Feature|arma2|This command is not available in {{arma2}}.}}


|s1= [[formationTask]] unit
|s1= [[formationTask]] unit

Revision as of 10:01, 7 February 2021

Hover & click on the images for description

Description

Description:
Return the current task of the unit in the formation.
Arma 2
This command is not available in Arma 2.
Groups:
Groups

Syntax

Syntax:
formationTask unit
Parameters:
unit: Object
Return Value:
String: "EXCLUDED", "MOVE", "COVER", "LEADER"

Examples

Example 1:
_currentTask = formationTask _unit;

Additional Information

See also:
setFormationTask

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note