Lua API
On this page

InterpertedMotionState

Inherits from

Contains information for animations and general free motion

Fields:

CommandListLength number

read only

Derived from flags.

CurrentStyle MotionStance

Stance. If not present, defaults to 0x3D (NonCombat)

ForwardCommand MotionCommand

Command for our forward movement. If not present, defaults to 0x03 (Ready)

ForwardSpeed number

Forward movement speed. If not present, defaults to 1.0

SidestepCommand MotionCommand

Command for our sidestep movememnt. If not present, defaults to 0x00

SidestepSpeed number

Sidestep movement speed. If not present, defaults to 1.0

TurnCommand MotionCommand

Command for our turn movememnt. If not present, defaults to 0x00

TurnSpeed number

Turn movement speed. If not present, defaults to 1.0

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string