Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

LevelObjectInfo

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

A placed object of a loaded level, as this client has it.

readonly actor: string

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

The actor’s name.


readonly optional bounds?: { center: Vec3; extent: Vec3; } | null

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

An actor’s world-space box: its root’s bounds, extent being half its size. Null when the root has none.


readonly class: string

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

The actor’s class.


readonly optional component?: string

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

The instanced component, for one instance’s key.


readonly optional distance?: number

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

From LevelObjects.near: centimetres from where the search was centred.


readonly hidden: boolean

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

Whether this client has it hidden right now.


readonly optional instance?: number

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

The instance, for one instance’s key.


readonly optional instanced?: LevelObjectInstances[]

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

An actor’s instanced meshes, whose instances can be hidden one by one.


readonly key: string

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

What LevelObjects.hide on the server takes; the same on every client.


readonly level: string

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

The level’s map name.


readonly mesh: string | null

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

The static mesh it draws (the root’s for an actor), or null when it draws none.


readonly position: Vec3 | null

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

World position: the actor’s root, or the instance’s origin.