formationTask

From Bohemia Interactive Community
Revision as of 02:42, 13 June 2021 by Lou Montana (talk | contribs) (Text replacement - " \{\{GameCategory *\| *arma1 *\| *(New )?Scripting Commands\}\}" to "")
Jump to navigation Jump to search
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