setFormation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| ofp
|game1= ofp
|version1= 1.00


|1.00
|game2= ofpe
|version2= 1.00
 
|game3= arma1
|version3= 1.00
 
|game4= arma2
|version4= 1.00
 
|game5= arma2oa
|version5= 1.50
 
|game6= tkoh
|version6= 1.00
 
|game7= arma3
|version7= 0.50


|gr1= Groups
|gr1= Groups
Line 11: Line 28:
|eff= global
|eff= global


| Set group formation.
|descr= Set group formation.
Formation is one of:
* '''"COLUMN"'''
* '''"STAG COLUMN"'''
* '''"WEDGE"'''
* '''"ECH LEFT"'''
* '''"ECH RIGHT"'''
* '''"VEE"'''
* '''"LINE"'''
* '''"FILE"''' (ArmA)
* '''"DIAMOND"''' (ArmA)


| group '''setFormation''' formation
|s1= group [[setFormation]] formation


|p1= group: [[Object]] or [[Group]]
|p1= group: [[Object]] or [[Group]]


|p2= formation: [[String]]
|p2= formation: [[String]] - can be one of:
* "COLUMN"
* "STAG COLUMN"
* "WEDGE"
* "ECH LEFT"
* "ECH RIGHT"
* "VEE"
* "LINE"
* "FILE" ({{Since|arma1}})
* "DIAMOND" ({{Since|arma1}})


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


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


| [[Mission_Editor:_Waypoints#Formation|formations description]], [[formation]]
|seealso= [[Mission_Editor:_Waypoints#Formation|formations description]], [[formation]]
}}
}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 22:27, 10 June 2021

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:
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