getSpeed: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\|= * " to " ") |
||
Line 23: | Line 23: | ||
| [[Number]] (m/s) |RETURNVALUE= | | [[Number]] (m/s) |RETURNVALUE= | ||
|x1= <code>_spd = [[player]] [[getSpeed]] "FAST";</code> | |x1= <code>_spd = [[player]] [[getSpeed]] "FAST";</code> | ||
| [[forceWalk]], [[isWalking]], [[forceSpeed]], [[isForcedWalk]] |SEEALSO= | | [[forceWalk]], [[isWalking]], [[forceSpeed]], [[isForcedWalk]] |SEEALSO= |
Revision as of 21:32, 17 January 2021
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
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