Lua API
On this page

MoveToMovementParameters

Inherits from

Set of movement parameters required for a MoveTo movement

Fields:

AnimationSpeed number

speed of animation

Bitmember number

bitmember of some options related to the motion (TODO needs further research)

DesiredHeading number

Heading the object is turning to

DistanceToObject number

The distance to the given location

FailDistance number

The distance at which the movement will fail

MinDistance number

The minimum distance required for the movement

WalkRunThreshold number

The distance from the location which determines whether you walk or run towards it.

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