formationTask: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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"|= Description
You can't use it in ArmA 2, it will always returns "NOTHING"|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[String]] <nowiki>=</nowiki> '''formationTask''' person |= Syntax
| [[String]] <nowiki>=</nowiki> '''formationTask''' person |SYNTAX=


|p1= person: [[Object]] |= Parameter 1
|p1= person: [[Object]] |PARAMETER1=


| [[String]]: (EXCLUDED, MOVE, COVER, LEADER) |= Return value
| [[String]]: (EXCLUDED, MOVE, COVER, LEADER) |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1= <pre>_CurrentTask = FormationTask _person </pre>
|x1= <pre>_CurrentTask = FormationTask _person </pre>
| [[setFormationTask]] |= See also
| [[setFormationTask]] |SEEALSO=


}}
}}

Revision as of 15:39, 7 April 2019

Template:arma2-obsolete

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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

Notes

Bottom Section