formation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofp |Game name=
| ofp


|1.00|Game version=
|1.00


|gr1= Groups |GROUP1=
|gr1= Groups


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


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


| [[String]] <nowiki>=</nowiki> '''formation''' grp|SYNTAX=
| [[String]] <nowiki>=</nowiki> '''formation''' grp


|p1 = grp: [[Object]] or [[Group]] | = P1
|p1 = grp: [[Object]] or [[Group]] | = P1


| [[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"
   
   
|x1= <code>formation [[group]] [[player]]</code> |EXAMPLE1=
|x1= <code>formation [[group]] [[player]]</code>


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


}}
}}

Revision as of 00:35, 18 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