setWaypointFormation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (<pre> to <code> + "see also" + Desc. tidy)
m (Text replacement - "‎" to "")
 
(66 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma |= Game name
|game1= ofpe
|version1= 1.00


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


| Switches the group formation when the waypoint becomes active.
|game3= arma2
|version3= 1.00
 
|game4= arma2oa
|version4= 1.50
 
|game5= tkoh
|version5= 1.00
 
|game6= arma3
|version6= 0.50
 
|serverExec= server
 
|eff= global
 
|gr1= Waypoints
 
|descr= Switches the group formation when the waypoint becomes active.
<br>
<br>
<br>
<br>
Line 20: Line 38:
* "LINE"
* "LINE"
* "FILE"
* "FILE"
* "DIAMOND" |= Description
* "DIAMOND"
____________________________________________________________________________________________


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


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


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


| [[Nothing]] |= Return value
|r1= [[Nothing]]
____________________________________________________________________________________________
 
|x1= <code>[_grp, 2] [[setWaypointFormation]] "LINE";</code> |= Example 1
____________________________________________________________________________________________


| [[Mission_Editor:_Waypoints#Formation|formations description]], [[addWaypoint]], [[waypointFormation]],
|x1= <sqf>[_grp, 2] setWaypointFormation "LINE";</sqf>
[[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointHousePosition]], [[setWaypointLoiterRadius]], [[setWaypointLoiterType]], [[setWaypointName]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]] |= See also


|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]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SETWAYPOINTFORMATION]]
[[Category:Scripting Commands OFP Elite |SETWAYPOINTFORMATION]]
[[Category:Scripting Commands ArmA|SETWAYPOINTFORMATION]]
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

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