Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

CharacterMovementState

Defined in: shared.d.ts:625

Where an entity’s path stands.

lap: number

Defined in: shared.d.ts:572

Laps a loop or pingpong has completed.

MovementState.lap


mode: "path" | "idle" | "follow"

Defined in: shared.d.ts:566

“path” while one runs, waiting at a point and paused included; “follow” (Beast, NPC and Character) while it follows.

MovementState.mode


paused: boolean

Defined in: shared.d.ts:573

MovementState.paused


targetId: number

Defined in: shared.d.ts:627

The followed entity’s id, 0 otherwise.


waypoint: number

Defined in: shared.d.ts:568

Index into the waypoints passed: the point walked to, or waited at.

MovementState.waypoint


waypoints: number

Defined in: shared.d.ts:570

How many waypoints the path has; 0 when idle.

MovementState.waypoints