waypointFormation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style='display:none'>Notes</h3>" to "")
m (Text replacement - "‎" to "")
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma2
|game1= arma2
|version1= 1.00


|1.00
|game2= arma2oa
|version2= 1.50
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50


|gr1= Waypoints
|gr1= Waypoints


| Gets the waypoint formation.
|descr= Gets the waypoint formation.


Possible values are:  
Possible values are:  
Line 21: Line 29:
* "DIAMOND"
* "DIAMOND"


 
|s1= [[waypointFormation]] waypoint
| '''waypointFormation''' waypoint


|p1= waypoint: [[Array]] - format [[Waypoint]]
|p1= waypoint: [[Array]] - format [[Waypoint]]


|p2=
|r1= [[String]]
 
|p3=
 
| [[String]]
 
 
|x1= <code>[[waypointFormation]] [groupOne,1]</code>


|x1= <sqf>waypointFormation [groupOne,1];</sqf>


| [[Mission_Editor:_Waypoints#Formation|formations description]], [[waypoints]], [[setWaypointFormation]]
|seealso= [[Mission_Editor:_Waypoints#Formation|formations description]] [[waypoints]] [[setWaypointFormation]]
 
|
}}
}}
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 12:55, 26 April 2023

Hover & click on the images for description

Description

Description:
Gets the waypoint formation. Possible values are:
  • "NO CHANGE"
  • "COLUMN"
  • "STAG COLUMN"
  • "WEDGE"
  • "ECH LEFT"
  • "ECH RIGHT"
  • "VEE"
  • "LINE"
  • "FILE"
  • "DIAMOND"
Groups:
Waypoints

Syntax

Syntax:
waypointFormation waypoint
Parameters:
waypoint: Array - format Waypoint
Return Value:
String

Examples

Example 1:
waypointFormation [groupOne,1];

Additional Information

See also:
formations description waypoints setWaypointFormation

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