waypointSpeed: Difference between revisions

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


| arma2 |= Game name
|game1= arma2
|version1= 1.00


|1.00|= Game version
|game2= arma2oa
____________________________________________________________________________________________
|version2= 1.50


| Gets the waypoint speed.
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50
 
|gr1= Waypoints
 
|descr= Gets the waypoint speed.


Possible values are:
Possible values are:
Line 14: Line 22:
* "NORMAL"
* "NORMAL"
* "FULL"
* "FULL"
|= Description
____________________________________________________________________________________________
| '''waypointSpeed''' waypoint |= Syntax


|p1= waypoint:  -  |= PARAMETER1
|s1= [[waypointSpeed]] waypoint


|p2= |= PARAMETER2
|p1= waypoint: [[Array]] - format [[Waypoint]]


|p3= |= PARAMETER3
|r1= [[String]] - see description


| [[String]] |= RETURNVALUE
|x1= <sqf>_speed = waypointSpeed [groupOne,1];</sqf>


 
|seealso= [[deleteWaypoint]] [[copyWaypoints]] [[setCurrentWaypoint]] [[setWaypointBehaviour]] [[setWaypointCombatMode]] [[setWaypointCompletionRadius]] [[setWaypointDescription]] [[setWaypointFormation]] [[setWaypointHousePosition]] [[setWaypointPosition]] [[setWaypointScript]] [[setWaypointSpeed]] [[setWaypointStatements]] [[setWaypointTimeout]] [[setWaypointType]] [[setWaypointVisible]] [[waypointAttachVehicle]] [[waypointAttachedVehicle]] [[setWaypointLoiterRadius]] [[waypointLoiterRadius]] [[addWaypoint]] [[setWaypointLoiterType]] [[waypoints]] [[setWPPos]] [[waypointName]]
|x1= <code>waypointSpeed [groupOne,1]</code>|= EXAMPLE1
 
____________________________________________________________________________________________
 
| [[waypoints]], [[setWaypointSpeed]] |= SEEALSO
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<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:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:25, 13 May 2022

Hover & click on the images for description

Description

Description:
Gets the waypoint speed. Possible values are:
  • "UNCHANGED"
  • "LIMITED"
  • "NORMAL"
  • "FULL"
Groups:
Waypoints

Syntax

Syntax:
waypointSpeed waypoint
Parameters:
waypoint: Array - format Waypoint
Return Value:
String - see description

Examples

Example 1:
_speed = waypointSpeed [groupOne,1];

Additional Information

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

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