setFormation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofp |Game name=
| ofp


|1.00|Game version=
|1.00


|gr1= Groups |GROUP1=
|gr1= Groups


|arg= local |Multiplayer Arguments=
|arg= local


|eff= global |Multiplayer Effects=
|eff= global


| Set group formation.
| Set group formation.
Line 22: Line 22:
* '''"FILE"''' (ArmA)
* '''"FILE"''' (ArmA)
* '''"DIAMOND"''' (ArmA)
* '''"DIAMOND"''' (ArmA)
|DESCRIPTION=


| group '''setFormation''' formation |SYNTAX=


|p1= group: [[Object]] or [[Group]] |PARAMETER1=
| group '''setFormation''' formation


|p2= formation: [[String]] |PARAMETER2=
|p1= group: [[Object]] or [[Group]]


| [[Nothing]] |RETURNVALUE=
|p2= formation: [[String]]
 
| [[Nothing]]
   
   
|x1= <pre>_groupOne setFormation "LINE"</pre> |EXAMPLE1=
|x1= <pre>_groupOne setFormation "LINE"</pre>


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


}}
}}

Revision as of 12:11, 18 January 2021

Hover & click on the images for description

Description

Description:
Set group formation. Formation is one of:
  • "COLUMN"
  • "STAG COLUMN"
  • "WEDGE"
  • "ECH LEFT"
  • "ECH RIGHT"
  • "VEE"
  • "LINE"
  • "FILE" (ArmA)
  • "DIAMOND" (ArmA)
Groups:
Groups

Syntax

Syntax:
group setFormation formation
Parameters:
group: Object or Group
formation: String
Return Value:
Nothing

Examples

Example 1:
_groupOne setFormation "LINE"

Additional Information

See also:
formations descriptionformation

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