setWaypointSpeed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)?\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(46 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


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


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


|serverExec= server|=
|game3= arma2
|version3= 1.00


|eff= global |Multiplayer Effects=
|game4= arma2oa
|version4= 1.50


|gr1= Waypoints |GROUP1=
|game5= tkoh
____________________________________________________________________________________________
|version5= 1.00


| Switches the group speed mode when the waypoint becomes active.
|game6= arma3
|version6= 0.50
 
|serverExec= server
 
|eff= global
 
|gr1= Waypoints
 
|descr= Switches the group speed mode when the waypoint becomes active.
<br>
<br>
<br>
<br>
Line 20: Line 32:
* "LIMITED"
* "LIMITED"
* "NORMAL"
* "NORMAL"
* "FULL" |DESCRIPTION=
* "FULL"
____________________________________________________________________________________________


| waypoint '''setWaypointSpeed''' mode |SYNTAX=
|s1= waypoint [[setWaypointSpeed]] mode


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


|p2= mode: [[String]] |PARAMETER2=
|p2= mode: [[String]]


| [[Nothing]] |RETURNVALUE=
|r1= [[Nothing]]
____________________________________________________________________________________________
 
|x1= <code>[_grp, 2] [[setWaypointSpeed]] "FULL";</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]] |SEEALSO=
|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]]
}}
}}
<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|SETWAYPOINTSPEED]]
[[Category:Scripting Commands OFP Elite |SETWAYPOINTSPEED]]
{{GameCategory|arma1|Scripting Commands}}
[[Category:Command_Group:_Waypoints|SETWAYPOINTSPEED]]
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

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