getSpeed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(x1)
Line 24: Line 24:
| [[Number]] |= Return value
| [[Number]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1= <code>_spd = [[player]] [[getSpeed]] "fast"</code> |


|  |= See also
|  |= See also

Revision as of 21:43, 8 March 2015

-wrong parameter ("Arma") defined!-1.00
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:
Uncategorised

Syntax

Syntax:
Number = object getSpeed speedMode
Parameters:
object: Object
speedMode: String
Return Value:
Number

Examples

Example 1:
_spd = player getSpeed "fast"

Additional Information

See also:
See also needed

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

Notes

Bottom Section