formationTask: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
m (template:command argument fix) |
||
Line 10: | Line 10: | ||
| Return the current task of the unit in the formation. | | Return the current task of the unit in the formation. | ||
You can't use it in ArmA 2, it will always returns "NOTHING"|= | You can't use it in ArmA 2, it will always returns "NOTHING"|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[String]] <nowiki>=</nowiki> '''formationTask''' person |= | | [[String]] <nowiki>=</nowiki> '''formationTask''' person |SYNTAX= | ||
|p1= person: [[Object]] |= | |p1= person: [[Object]] |PARAMETER1= | ||
| [[String]]: (EXCLUDED, MOVE, COVER, LEADER) |= | | [[String]]: (EXCLUDED, MOVE, COVER, LEADER) |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre>_CurrentTask = FormationTask _person </pre> | |x1= <pre>_CurrentTask = FormationTask _person </pre> | ||
| [[setFormationTask]] |= | | [[setFormationTask]] |SEEALSO= | ||
}} | }} |
Revision as of 14:39, 7 April 2019
Description
- Description:
- Return the current task of the unit in the formation. You can't use it in ArmA 2, it will always returns "NOTHING"
- Groups:
- Uncategorised
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