setWaypointFormation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| (\[\[[^ ]+\]\]) \}\}" to "|seealso= ‎$1 }}")
m (Text replacement - "‎" to "")
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| ofpe
|game1= ofpe
| 1.00
|version1= 1.00


|game2= arma1
|game2= arma1
Line 25: Line 25:
|gr1= Waypoints
|gr1= Waypoints


| Switches the group formation when the waypoint becomes active.
|descr= Switches the group formation when the waypoint becomes active.
<br>
<br>
<br>
<br>
Line 40: Line 40:
* "DIAMOND"
* "DIAMOND"


|s1= waypoint '''setWaypointFormation''' formation
|s1= waypoint [[setWaypointFormation]] formation


|p1= waypoint: [[Array]] - format [[Waypoint]]
|p1= waypoint: [[Array]] - format [[Waypoint]]
Line 46: Line 46:
|p2= formation: [[String]]
|p2= formation: [[String]]


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


|x1= <code>[_grp, 2] [[setWaypointFormation]] "LINE";</code>
|x1= <sqf>[_grp, 2] setWaypointFormation "LINE";</sqf>


|seealso= [[Mission_Editor:_Waypoints#Formation|formations description]], [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]]
|seealso= [[Mission_Editor:_Waypoints#Formation|formations description]] [[waypoints]] [[deleteWaypoint]] [[copyWaypoints]] [[setCurrentWaypoint]] [[setWaypointBehaviour]] [[setWaypointCombatMode]] [[setWaypointCompletionRadius]] [[setWaypointDescription]] [[setWaypointHousePosition]] [[setWaypointPosition]] [[setWaypointScript]] [[setWaypointSpeed]] [[setWaypointStatements]] [[setWaypointTimeout]] [[setWaypointType]] [[setWaypointVisible]] [[waypointAttachVehicle]] [[waypointAttachedVehicle]] [[setWaypointLoiterRadius]] [[waypointLoiterRadius]] [[addWaypoint]] [[setWaypointLoiterType]] [[waypointSpeed]]
}}
}}
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 11:55, 26 April 2023

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"
  • "LINE"
  • "FILE"
  • "DIAMOND"
Groups:
Waypoints

Syntax

Syntax:
waypoint setWaypointFormation formation
Parameters:
waypoint: Array - format Waypoint
formation: String
Return Value:
Nothing

Examples

Example 1:
[_grp, 2] setWaypointFormation "LINE";

Additional Information

See also:
formations description waypoints deleteWaypoint copyWaypoints setCurrentWaypoint setWaypointBehaviour setWaypointCombatMode setWaypointCompletionRadius setWaypointDescription setWaypointHousePosition setWaypointPosition setWaypointScript setWaypointSpeed setWaypointStatements setWaypointTimeout setWaypointType setWaypointVisible waypointAttachVehicle waypointAttachedVehicle setWaypointLoiterRadius waypointLoiterRadius addWaypoint setWaypointLoiterType waypointSpeed

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