formationTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| arma |" to "| arma1 |")
m (description)
Line 1: Line 1:
{{arma2-obsolete}}
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 10: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Return the current task of the unit in the formation.
| Return the current task of the unit in the formation. {{Important|This command is not available in {{arma2}}.}}|DESCRIPTION=
You can't use it in ArmA 2, it will always returns "NOTHING"|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 18:17, 29 December 2020

Hover & click on the images for description

Description

Description:
Return the current task of the unit in the formation.
This command is not available in Arma 2.
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

Notes

Bottom Section