setWaypointSpeed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(77 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


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


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


| Switches the group speed mode when the waypoint becomes active. Possible values are: "UNCHANGED", "LIMITED", "NORMAL" and "FULL". |= Description
|game3= arma2
____________________________________________________________________________________________
|version3= 1.00


| waypoint '''setWaypointSpeed''' mode |= Syntax
|game4= arma2oa
|version4= 1.50


|p1= waypoint: [[]] |= Parameter 1
|game5= tkoh
|version5= 1.00


|p2= mode: [[String]] |= Parameter 2
|game6= arma3
|version6= 0.50


| [[Nothing]] |= Return value
|serverExec= server
____________________________________________________________________________________________
 
|x1= <pre>[grp, 2] setWaypointSpeed "FULL"</pre> |= Example 1
____________________________________________________________________________________________


| |= See also
|eff= global


}}
|gr1= Waypoints
 
|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: [[Array]] - format [[Waypoint]]
 
|p2= mode: [[String]]


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>[_grp, 2] setWaypointSpeed "FULL";</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[waypoints]] [[deleteWaypoint]] [[copyWaypoints]] [[setCurrentWaypoint]] [[setWaypointBehaviour]] [[setWaypointCombatMode]] [[setWaypointCompletionRadius]] [[setWaypointDescription]] [[setWaypointFormation]] [[setWaypointHousePosition]] [[setWaypointPosition]] [[setWaypointScript]] [[setWaypointStatements]] [[setWaypointTimeout]] [[setWaypointType]] [[setWaypointVisible]] [[waypointAttachVehicle]] [[waypointAttachedVehicle]] [[setWaypointLoiterRadius]] [[waypointLoiterRadius]] [[addWaypoint]] [[setWaypointLoiterType]] [[waypointSpeed]]
[[Category:Scripting Commands|SETWAYPOINTSPEED]]
}}
[[Category:Scripting Commands OFP Elite |SETWAYPOINTSPEED]]
[[Category:Scripting Commands ArmA|SETWAYPOINTSPEED]]

Latest revision as of 11:24, 13 May 2022

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: Array - format 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 or on the Forums.
Only post proven facts here! Add Note