Skip to content

object_get_velocity

Description

Reads an object's velocity into an out-variable.

Parameters

<object> <number_out (ft/s)>

  • <name> — required operand
  • {a|b|c} — choose one alternative
  • [ … ] — optional clause

Example

megalo
action object_get_velocity current_object speedness

Example from HREK broken/slayer-revenant.txt.

Supported Versions

VersionSupported
49Yes
73Yes
106Yes
107Yes
107 (MCC)Yes

See also action syntax.