setWaypointFormation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETWAYPOINTFORMATION]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETWAYPOINTFORMATION]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETWAYPOINTFORMATION]]


| ofpr |= Game name


<h2 style="color:#000066">'''''waypoint'' setWaypointFormation ''formation'''''</h2>
|1.86|= Game version
____________________________________________________________________________________________


| Switches the group formation when the waypoint becomes active. Possible values are: "NO CHANGE", "COLUMN", "STAG COLUMN", "WEDGE", "ECH LEFT", "ECH RIGHT", "VEE" and "LINE". |= Description
____________________________________________________________________________________________


'''Operand types:'''
| waypoint '''setWaypointFormation''' formation |= Syntax


'''waypoint:''' [[Array]]
|p1= waypoint: [[Array]] |= Parameter 1


'''formation:''' [[String]]
|p2= formation: [[String]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>[grp, 2] setWaypointFormation "LINE"</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 1.86 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Switches the group formation when the waypoint becomes active.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETWAYPOINTFORMATION]]
Possible values are: "NO CHANGE", "COLUMN", "STAG COLUMN", "WEDGE", "ECH LEFT", "ECH RIGHT", "VEE" and "LINE".
[[Category:Scripting Commands OFP Elite |SETWAYPOINTFORMATION]]
 
[[Category:Scripting Commands ArmA|SETWAYPOINTFORMATION]]
 
'''Example:'''
 
[grp, 2] '''setWaypointFormation''' "LINE"

Revision as of 23:38, 1 August 2006

Hover & click on the images for description

Description

Description:
Switches the group formation when the waypoint becomes active. Possible values are: "NO CHANGE", "COLUMN", "STAG COLUMN", "WEDGE", "ECH LEFT", "ECH RIGHT", "VEE" and "LINE".
Groups:
Uncategorised

Syntax

Syntax:
waypoint setWaypointFormation formation
Parameters:
waypoint: Array
formation: String
Return Value:
Nothing

Examples

Example 1:
[grp, 2] setWaypointFormation "LINE"

Additional Information

See also:
See also needed

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