getSpeed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - " | arma1 |1.00 |arg" to " |game1= arma1 |version1= 1.00 |game2= arma2 |version2= 1.00 |game3= arma2oa |version3= 1.50 |game4= tkoh |version4= 1.00 |game5= arma3 |version5= 0.50 |arg")
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma1
|game1= arma1
|1.00
|version1= 1.00
 
|game2= arma2
|version2= 1.00
 
|game3= arma2oa
|version3= 1.50
 
|game4= tkoh
|version4= 1.00
 
|game5= arma3
|version5= 0.50
 
|arg= global
|arg= global



Revision as of 09:14, 14 June 2021

Hover & click on the images for description

Description

Description:
Get the speed for the given speed mode. SpeedMode can be:
  • "AUTO"
  • "SLOW"
  • "NORMAL"
  • "FAST"
Groups:
Object Manipulation

Syntax

Syntax:
object getSpeed speedMode
Parameters:
object: Object
speedMode: String
Return Value:
Number (m/s)

Examples

Example 1:
_spd = player getSpeed "FAST";

Additional Information

See also:
forceWalkisWalkingforceSpeedisForcedWalk

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