setFormation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofp |Game name=
| ofp |Game name=
Line 11: Line 10:


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


| Set group formation.
| Set group formation.
Line 25: Line 23:
* '''"DIAMOND"''' (ArmA)
* '''"DIAMOND"''' (ArmA)
|DESCRIPTION=
|DESCRIPTION=
____________________________________________________________________________________________


| group '''setFormation''' formation |SYNTAX=
| group '''setFormation''' formation |SYNTAX=
Line 34: Line 31:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <pre>_groupOne setFormation "LINE"</pre> |EXAMPLE1=
|x1= <pre>_groupOne setFormation "LINE"</pre> |EXAMPLE1=
____________________________________________________________________________________________


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

Revision as of 02:56, 17 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

Notes

Bottom Section