getSpeed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(x1)
(see also)
Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Number]] <nowiki>=</nowiki> object '''getSpeed''' speedMode |= Syntax
| object '''getSpeed''' speedMode |= Syntax


|p1= object: [[Object]] |= Parameter 1
|p1= object: [[Object]] |= Parameter 1
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>_spd = [[player]] [[getSpeed]] "fast"</code> |
|x1= <code>_spd = [[player]] [[getSpeed]] "FAST";</code> |=


| |= See also
| [[forceWalk]], [[isWalking]], [[forceSpeed]], [[isForcedWalk]] |= See also


}}
}}

Revision as of 21:08, 9 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:
object getSpeed speedMode
Parameters:
object: Object
speedMode: String
Return Value:
Number

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

Notes

Bottom Section