formationTask: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|") | m (page formatting) | ||
| Line 1: | Line 1: | ||
| {{RV|type=command | {{RV|type=command | ||
| | arma1 | |game1= arma1 | ||
| |1.00 | |version1= 1.00 | ||
| |gr1= Groups | |gr1= Groups | ||
| | 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|important|This command is not available in {{arma2}}.}} | ||
| | [[ | |s1= [[formationTask]] unit | ||
| |p1=  | |p1= unit: [[Object]] | ||
| | [[String]]:  | |r1= [[String]]: "EXCLUDED", "MOVE", "COVER", "LEADER" | ||
| |x1= < | |||
| | [[setFormationTask]] | |x1= <code>_currentTask = [[formationTask]] _unit;</code> | ||
| |seealso= [[setFormationTask]] | |||
| }} | }} | ||
| {{GameCategory|arma1|Scripting Commands}} | {{GameCategory|arma1|Scripting Commands}} | ||
Revision as of 02:27, 7 February 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
 
	