formation: 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=
____________________________________________________________________________________________


| ofp |Game name=
| ofp |Game name=
Line 9: Line 8:


|arg= global |Multiplayer Arguments=
|arg= global |Multiplayer Arguments=
____________________________________________________________________________________________


| Returns the current formation of a group. |DESCRIPTION=
| Returns the current formation of a group. |DESCRIPTION=
____________________________________________________________________________________________


| [[String]] <nowiki>=</nowiki> '''formation''' grp|SYNTAX=
| [[String]] <nowiki>=</nowiki> '''formation''' grp|SYNTAX=
Line 19: Line 16:


| [[String]] -  returns either "COLUMN", "STAG COLUMN", "WEDGE", "ECH LEFT", "ECH RIGHT", "VEE" or "LINE" |RETURNVALUE=
| [[String]] -  returns either "COLUMN", "STAG COLUMN", "WEDGE", "ECH LEFT", "ECH RIGHT", "VEE" or "LINE" |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>formation [[group]] [[player]]</code> |EXAMPLE1=
|x1= <code>formation [[group]] [[player]]</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[Mission_Editor:_Waypoints#Formation|formations description]], [[formLeader]], [[setFormation]] |SEEALSO=
| [[Mission_Editor:_Waypoints#Formation|formations description]], [[formLeader]], [[setFormation]] |SEEALSO=

Revision as of 01:14, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns the current formation of a group.
Groups:
Groups

Syntax

Syntax:
String = formation grp
Parameters:
grp: Object or Group
Return Value:
String - returns either "COLUMN", "STAG COLUMN", "WEDGE", "ECH LEFT", "ECH RIGHT", "VEE" or "LINE"

Examples

Example 1:
formation group player

Additional Information

See also:
formations descriptionformLeadersetFormation

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

Posted on January 9, 2007 - 03:16
ColonelSandersLite

Additional ARMA Formations: "File" - Column Compact. "DIAMOND" - Delta.

Bottom Section