setWaypointSpeed: Difference between revisions

From Bohemia Interactive Community
mNo edit summary
mNo edit summary
 
(82 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|S]]
{{RV|type=command
[[Category:Scripting Commands OFP Elite |S]]
[[Category:Scripting Commands ArmA|S]]


<new command not populated>
|game1= ofpe
|version1= 1.00


|game2= arma1
|version2= 1.00


<h2 style="color:#000066">''''' setWaypointSpeed '''''</h2>
|game3= arma2
|version3= 1.00


|game4= arma2oa
|version4= 1.50


'''Operand types:'''
|game5= tkoh
|version5= 1.00


'''Type of returned value:'''
|game6= arma3
|version6= 0.50


'''Compatibility:'''
|serverExec= server


'''Description:'''
|eff= global


|gr1= Waypoints


'''Example:'''
|descr= Switches the group speed mode when the waypoint becomes active.
<br>
<br>
Possible values are:
* "UNCHANGED"
* "LIMITED"
* "NORMAL"
* "FULL"
 
|s1= waypoint [[setWaypointSpeed]] mode
 
|p1= waypoint: [[Waypoint]]
 
|p2= mode: [[String]]
 
|r1= [[Nothing]]
 
|x1= <sqf>[_grp, 2] setWaypointSpeed "FULL";</sqf>
 
|seealso= [[waypoints]] [[deleteWaypoint]] [[copyWaypoints]] [[setCurrentWaypoint]] [[setWaypointBehaviour]] [[setWaypointCombatMode]] [[setWaypointCompletionRadius]] [[setWaypointDescription]] [[setWaypointFormation]] [[setWaypointHousePosition]] [[setWaypointPosition]] [[setWaypointScript]] [[setWaypointStatements]] [[setWaypointTimeout]] [[setWaypointType]] [[setWaypointVisible]] [[waypointAttachVehicle]] [[waypointAttachedVehicle]] [[setWaypointLoiterRadius]] [[waypointLoiterRadius]] [[addWaypoint]] [[setWaypointLoiterType]] [[waypointSpeed]]
}}

Latest revision as of 01:58, 3 January 2026

Hover & click on the images for description

Description

Description:
Switches the group speed mode when the waypoint becomes active.

Possible values are:
  • "UNCHANGED"
  • "LIMITED"
  • "NORMAL"
  • "FULL"
Groups:
Waypoints

Syntax

Syntax:
waypoint setWaypointSpeed mode
Parameters:
waypoint: Waypoint
mode: String
Return Value:
Nothing

Examples

Example 1:
[_grp, 2] setWaypointSpeed "FULL";

Additional Information

See also:
waypoints deleteWaypoint copyWaypoints setCurrentWaypoint setWaypointBehaviour setWaypointCombatMode setWaypointCompletionRadius setWaypointDescription setWaypointFormation setWaypointHousePosition setWaypointPosition setWaypointScript 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.
Only post proven facts here! Add Note