formationPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|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= Positions |GROUP1=
|gr1= Positions |GROUP1=
____________________________________________________________________________________________


| Return position of unit in the formation. |DESCRIPTION=
| Return position of unit in the formation. |DESCRIPTION=
____________________________________________________________________________________________


| '''formationPosition''' unit|SYNTAX=
| '''formationPosition''' unit|SYNTAX=
Line 17: Line 14:


| [[Position]] |RETURNVALUE=
| [[Position]] |RETURNVALUE=
____________________________________________________________________________________________
|x1=<code>_pos = [[formationPosition]] _unit;</code>
|x1=<code>_pos = [[formationPosition]] _unit;</code>



Revision as of 02:17, 17 January 2021

Hover & click on the images for description

Description

Description:
Return position of unit in the formation.
Groups:
Positions

Syntax

Syntax:
formationPosition unit
Parameters:
unit: Object
Return Value:
Position

Examples

Example 1:
_pos = formationPosition _unit;

Additional Information

See also:
formation

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