benilla-re systems structs docs

s_areaTriggerFirst

global · objectlayer

Address
0xc4d6ac · 4 bytes, up to 0xc4d6af
Type
int32_t
Meaning
Holds the first row of the current map's area triggers, −1 for none
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.