setFormation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added: See also)
m (Text replacement - "|size=0.8" to "|size= 0.75")
 
(37 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| ofp |= Game name
|game1= ofp
|version1= 1.00


|1.00|= Game version
|game2= ofpe
____________________________________________________________________________________________
|version2= 1.00


| Set group formation.
|game3= arma1
Formation is one of:
|version3= 1.00
* '''"COLUMN"'''
* '''"STAG COLUMN"'''
* '''"WEDGE"'''
* '''"ECH LEFT"'''
* '''"ECH RIGHT"'''
* '''"VEE"'''
* '''"LINE"'''
* '''"FILE"''' (ArmA)
* '''"DIAMOND"''' (ArmA)
|= Description
____________________________________________________________________________________________


| group '''setFormation''' formation |= Syntax
|game4= arma2
|version4= 1.00


|p1= group: [[Object]] or [[Group]] |= Parameter 1
|game5= arma2oa
|version5= 1.50


|p2= formation: [[String]] |= Parameter 2
|game6= tkoh
|version6= 1.00


| [[Nothing]] |= Return value
|game7= arma3
____________________________________________________________________________________________
|version7= 0.50
 
|x1= <pre>_groupOne setFormation "LINE"</pre> |= Example 1
____________________________________________________________________________________________


| [[Mission_Editor:_Waypoints#Formation|formations description]], [[formation]] |= See also
|gr1= Groups


|arg= local
|eff= global
|descr= Set group formation.
|s1= group [[setFormation]] formation
|p1= group: [[Object]] or [[Group]]
|p2= formation: [[String]] - can be one of:
{{Columns|2|
* "COLUMN"
* "STAG COLUMN"
* "WEDGE"
* "ECH LEFT"
* "ECH RIGHT"
* "VEE"
* "LINE"
* {{GVI|arma1|1.00|size= 0.75}} "FILE"
* {{GVI|arma1|1.00|size= 0.75}} "DIAMOND"
|y
}}
}}


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>_groupOne setFormation "LINE";</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[Mission_Editor:_Waypoints#Formation|formations description]] [[formation]]
[[Category:Scripting Commands|SETFORMATION]]
}}
[[Category:Scripting Commands OFP 1.96|SETFORMATION]]
[[Category:Scripting Commands OFP 1.46|SETFORMATION]]
[[Category:Scripting Commands ArmA|SETFORMATION]]
[[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Object_Manipulation|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

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