formationTask: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Groups |GROUP1= | |gr1= Groups |GROUP1= | ||
| Return the current task of the unit in the formation. {{Important|This command is not available in {{arma2}}.}}|DESCRIPTION= | | Return the current task of the unit in the formation. {{Important|This command is not available in {{arma2}}.}}|DESCRIPTION= | ||
| [[String]] <nowiki>=</nowiki> '''formationTask''' person |SYNTAX= | | [[String]] <nowiki>=</nowiki> '''formationTask''' person |SYNTAX= | ||
Line 17: | Line 14: | ||
| [[String]]: (EXCLUDED, MOVE, COVER, LEADER) |RETURNVALUE= | | [[String]]: (EXCLUDED, MOVE, COVER, LEADER) |RETURNVALUE= | ||
|x1= <pre>_CurrentTask = FormationTask _person </pre> | |x1= <pre>_CurrentTask = FormationTask _person </pre> | ||
| [[setFormationTask]] |SEEALSO= | | [[setFormationTask]] |SEEALSO= |
Revision as of 01:07, 17 January 2021
Description
- Description:
- Return the current task of the unit in the formation.
- Groups:
- Groups
Syntax
- Syntax:
- String = formationTask person
- Parameters:
- person: Object
- Return Value:
- String: (EXCLUDED, MOVE, COVER, LEADER)
Examples
- Example 1:
_CurrentTask = FormationTask _person
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