Arma 3 Scripting

getSpeed

  • Global argument
  • Arma 3 v0.50
  • First in Armed Assault v1.00

Command · Markdown · JSON · original wiki page

Description

Get the speed for the given speed mode.

SpeedMode can be:

Syntax

object getSpeed speedMode

Parameters:

Returns: Number - m/s

Examples

Example 1

_spd = player getSpeed "FAST";

See also

forceWalk · isWalking · forceSpeed · isForcedWalk