benilla-re systems structs docs

AreaTriggerCheck

function · objectlayer · primitive

Address
0x5e2110 · 389 bytes, up to 0x5e2294
Meaning
Arms itself again and sends CMSG_AREATRIGGER when the active player enters a trigger it was not in
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.

Callers 0

None by a direct call or jump.

Callees 10

Calls and jumps by a bare address, from tables/calls.tsv.