Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

PlayerMoveOptions

Defined in: server/api.d.ts:137

How player.moveTo and player.follow walk a player.

optional acceptRadius?: number

Defined in: server/api.d.ts:176

moveTo only. cm, 10..2000, default 75: how close counts as arrived.


optional distanceCm?: number

Defined in: server/api.d.ts:181

follow only. cm, 50..3000, default 200: the follower rests inside this distance and walks again once the target pulls 100 cm past it.


optional gait?: "walk" | "jog"

Defined in: server/api.d.ts:146

“walk” (default, about 156 cm/s) or “jog” (about 450 cm/s), as a full stick reaches them.


optional lockInput?: boolean

Defined in: server/api.d.ts:171

Default true: the player’s own movement, casting and other controls are stopped while the drive runs. Camera look stays.


owner: string

Defined in: server/api.d.ts:141

Owner tag, required. A player walks one drive at a time: a new one ends the running one with “replaced”, and stopMoving(owner) ends only this owner’s.


optional path?: "direct" | "nav"

Defined in: server/api.d.ts:166

“nav” (default) walks a navmesh path, a straight line where the navmesh has none; “direct” always walks straight.


optional speed?: number

Defined in: server/api.d.ts:151

cm/s, 80..450; overrides gait. Reached by tilting the stick part way, the way a half-pressed gamepad stick walks slower.


optional ttl?: number

Defined in: server/api.d.ts:156

Seconds after which the drive ends with “expired”. 0 (default) = until it ends on its own. Wins over ttlMs.


optional ttlMs?: number

Defined in: server/api.d.ts:161

Milliseconds; use ttl, in seconds.