Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

ZoneHazard

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

What a zone does to the players inside it. A player is exposed while inside and not protected. Their own client applies the damage, as the game’s damage over time, and the visuals, which show for everyone inside, protected or not.

optional blockedByShields?: boolean

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

Whether the game’s own defences stop the damage: a raised Protego, and the super armour an Edurus dose gives, which refuses any damage over time. Default false: the hazard goes through them, as direct hits each tick while the game refuses its damage over time.


optional damagePerSecond?: number

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

Health lost per second while exposed, through the game’s own damage over time (hit reactions, the game’s mitigation). 0 (the default) for visuals and zoneHazard events only.


optional fade?: number

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

Seconds the fog and tint take to come and go, 0 to 30. Default 1.


optional fog?: ZoneHazardFog | null

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

Fog for a player inside. Default none.


optional fx?: string | null

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

A MultiFX2 asset the damage plays on the player, such as “/Game/VFX/Particles/Magic/Incendio/Target_Attached/VFX_DA_MultiFX2_OnFire”. Default none.


optional protection?: ZoneHazardProtection

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

Items and consumables that keep a player safe.


optional tickRate?: number

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

Seconds between damage ticks, 0.1 to 10. Default 1.


optional tint?: ZoneHazardTint | null

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

Camera tint for a player inside. Default none.