Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

NpcMoveOptions

Defined in: shared.d.ts:247

An NPC’s path options. Its family’s own gaits: walk is its calm wander, jog its combat move, sprint that move at 1.3 times.

optional gait?: MoveGait

Defined in: shared.d.ts:555

Default gait for legs whose waypoint names none; “walk” when omitted.

MoveOptions.gait


optional loop?: MoveLoop

Defined in: shared.d.ts:557

Default “once”.

MoveOptions.loop


optional radius?: number

Defined in: shared.d.ts:249

How near a point counts as reached, in cm, 0..5000; default the game’s own (about 50).


optional speedScale?: number

Defined in: shared.d.ts:251

The game’s own speed scale for every leg, 0.25..3; default 1. Jog and sprint follow it; the calm walk keeps its stride.


optional then?: NpcIdle

Defined in: shared.d.ts:253

The idle a “once” path ends in, at its last point; it becomes npc.idle and the point npc.home. Default “stand”.