setFormation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "|size=0.8" to "|size= 0.75")
 
(5 intermediate revisions by the same user not shown)
Line 35: Line 35:


|p2= formation: [[String]] - can be one of:
|p2= formation: [[String]] - can be one of:
{{Columns|2|
* "COLUMN"
* "COLUMN"
* "STAG COLUMN"
* "STAG COLUMN"
Line 42: Line 43:
* "VEE"
* "VEE"
* "LINE"
* "LINE"
* "FILE" ({{Since|arma1}})
* {{GVI|arma1|1.00|size= 0.75}} "FILE"
* "DIAMOND" ({{Since|arma1}})
* {{GVI|arma1|1.00|size= 0.75}} "DIAMOND"
|y
}}


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>_groupOne [[setFormation]] "LINE";</code>
|x1= <sqf>_groupOne setFormation "LINE";</sqf>


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

Latest revision as of 13:10, 21 December 2022

Hover & click on the images for description

Description

Description:
Set group formation.
Groups:
Groups

Syntax

Syntax:
group setFormation formation
Parameters:
group: Object or Group
formation: String - can be one of:
  • "COLUMN"
  • "STAG COLUMN"
  • "WEDGE"
  • "ECH LEFT"
  • "ECH RIGHT"
  • "VEE"
  • "LINE"
  • Logo A1 black.png1.00 "FILE"
  • Logo A1 black.png1.00 "DIAMOND"
Return Value:
Nothing

Examples

Example 1:
_groupOne setFormation "LINE";

Additional Information

See also:
formations description 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