Lua API
On this page

Command

Inherits from

Vector collection data for the commands vector

Fields:

Autonomous number

read only

Derived from packedSequence. Whether command is autonomous

Id MotionCommand

Command ID

PackedSequence number

Sequence of the animation.

ServerActionSequence number

read only

Derived from packedSequence. Sequence of the animation.

Speed number

Command speed

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