formationTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
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 02:07, 17 January 2021

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