getSpeed: Difference between revisions
Jump to navigation
Jump to search
Fusselwurm (talk | contribs) (number unit) |
m (template:command argument fix) |
||
Line 13: | Line 13: | ||
*"SLOW" | *"SLOW" | ||
*"NORMAL" | *"NORMAL" | ||
*"FAST" |= | *"FAST" |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| object '''getSpeed''' speedMode |= | | object '''getSpeed''' speedMode |SYNTAX= | ||
|p1= object: [[Object]] |= | |p1= object: [[Object]] |PARAMETER1= | ||
|p2= speedMode: [[String]] |= | |p2= speedMode: [[String]] |PARAMETER2= | ||
| [[Number]] (m/s) |= | | [[Number]] (m/s) |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_spd = [[player]] [[getSpeed]] "FAST";</code> |= | |x1= <code>_spd = [[player]] [[getSpeed]] "FAST";</code> |= | ||
| [[forceWalk]], [[isWalking]], [[forceSpeed]], [[isForcedWalk]] |= | | [[forceWalk]], [[isWalking]], [[forceSpeed]], [[isForcedWalk]] |SEEALSO= | ||
}} | }} |
Revision as of 14:40, 7 April 2019
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 (m/s)
Examples
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
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands ArmA
- Command Group: Object Information
- Command Group: Vehicle Assignment
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters