formationTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Text replacement - " \{\{GameCategory *\| *arma1 *\| *(New )?Scripting Commands\}\}" to "")
Line 19: Line 19:
}}
}}


{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 02:42, 13 June 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