benilla-re systems structs docs

s_areaTriggerMap

global · objectlayer

Address
0xc4c498 · 4 bytes, up to 0xc4c49b
Type
uint32_t
Meaning
Holds the map whose area triggers are selected
Confidence
verified, proof one
Finding
objectlayer/players#area-triggers

Finding: Area triggers in objectlayer: players

A 100 ms timer checks the active player's position against the current map's AreaTrigger rows. Entering a trigger sends a movement heartbeat (0xee) and CMSG_AREATRIGGER (0xb4) with the row id; staying inside sends nothing. A row with radius 0 is a box: half its length, width and height around its centre, rotated by its orientation about z, strictly inside on each axis. Any other row is a sphere, inside unless r² < d².

The derivation is in the doc.