formationTask: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ") |
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma1 *\| *(New )?Scripting Commands\}\}" to "") |
||
Line 19: | Line 19: | ||
}} | }} | ||
{{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
Description
- Description:
- Return the current task of the unit in the formation.
- 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