Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

MapTravelCompletion

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

How a player.travelToMap or travelToPlace request ended.

readonly areaId: string | null

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

The map the player settled in, as player.location().areaId names it; null unless the load settled.


readonly destination: { x: number; y: number; yaw: number; z: number; } | null

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

Where the player stood once it settled; null unless the load settled.


readonly map: string

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

The package path that was requested.


readonly place: string | null

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

The travelToPlace name the request came from; null for travelToMap.


readonly requestId: number

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

The id travelToMap or travelToPlace returned.


readonly status: number

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

0 arrived, 1 superseded, 2 unavailable, 3 declined (the map or one of levels is not installed on this client), 4 timed out, 5 failed (the load settled in another map), 6 level failed (arrived, but one of levels did not load).