formationPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|=GROUP1" to "|GROUP1=")
mNo edit summary
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| [[Array]] <nowiki>=</nowiki> '''formationPosition''' person |SYNTAX=
| '''formationPosition''' unit|SYNTAX=


|p1= person: [[Object]] |PARAMETER1=
|p1= unit: [[Object]] |PARAMETER1=


| [[Array]] - format [[Position]] |RETURNVALUE=
| [[Position]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1=<pre>_pos=FormationPosition _person</pre>
|x1=<code>_pos = [[formationPosition]] _unit;</code>


| |SEEALSO=
| [[formation]] |SEEALSO=


}}
}}

Revision as of 09:47, 27 September 2020

-wrong parameter ("Arma") defined!-1.00
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