Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

LocalHazard

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

A server hazard zone the local player stands in, as the server last reported it.

readonly damagePerSecond: number

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

Health it takes per second while exposed.


readonly exposed: boolean

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

Whether it is hurting the player: inside and unprotected.


readonly fog: boolean

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

Whether it lays fog.


readonly tint: boolean

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

Whether it tints the camera.


readonly zoneId: number

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

The server zone’s id, as Zone.id reads on the server.