Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

DoorInfo

Defined in: client/api.d.ts:2823

A loaded physical door near the local player.

bearing: number

Defined in: client/api.d.ts:2847

Relative bearing in degrees.


optional child?: string

Defined in: client/api.d.ts:2887

Persistent id of the linked leaf of a double door, which unlocks whenever this one does; empty when unlinked. Doors only.


cls: string

Defined in: client/api.d.ts:2832

Actor class name.


dist: number

Defined in: client/api.d.ts:2842

Distance in centimetres.


id: string

Defined in: client/api.d.ts:2867

Persistent id <name>:<guid>, unique where names repeat. Empty for a lockable that is not a door.


optional keepOpen?: boolean

Defined in: client/api.d.ts:2882

Held open rather than closing on its own. Doors only.


locked: boolean

Defined in: client/api.d.ts:2872

Any lock on it is locked. Never true for a lockable carrying no lock.


optional lockLevel?: 2 | 1 | 3 | "key"

Defined in: client/api.d.ts:2892

Alohomora level its padlocks ask for, or “key” when only a key opens them. Padlocked doors only.


name: string

Defined in: client/api.d.ts:2827

Exact actor name.


optional open?: boolean

Defined in: client/api.d.ts:2877

Swung open, or swinging. Doors only.


path: string

Defined in: client/api.d.ts:2837

Full asset path; distinguishes placements sharing a name. Empty if unresolved.


optional x?: number

Defined in: client/api.d.ts:2852

World X in centimetres; absent when unlocated.


optional y?: number

Defined in: client/api.d.ts:2857

World Y in centimetres; absent when unlocated.


optional z?: number

Defined in: client/api.d.ts:2862

World Z in centimetres; absent when unlocated.