Lua API
On this page
MovementData
Inherits from
Data related to the movement and animation of the object
Fields:
Autonomous number
0x0 - server controlled, 0x1 - autonomous
DesiredHeading number
Heading of the target to turn to, this is used instead of the desiredHeading in the parameters
MovementType MovementType
Determines the type of movement that follows
MoveToParams MoveToMovementParameters
Set of movement parameters
ObjectMovementSequence number
The movement sequence value for this object
ObjectServerControlSequence number
The server control sequence value for the object
OptionFlags MovementOption
Options for this movement (sticky, standing long jump)
RunRate number
Run speed of the moving object
Stance MotionStance
Current stance
State InterpertedMotionState
Set of motion data
StickyObjectId number
object to stick to
TargetId number
The id of target thats being moved to
TurnToParams TurnToMovementParameters
Set of movement parameters
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