benilla-re systems structs docs

ChairHandlerCanUse

function · objectlayer · primitive

Address
0x5f5670 · 226 bytes, up to 0x5f5751
Meaning
Decides whether a chair is usable: in use range and within 3 yards of a seat
Confidence
verified, proof one
Finding
objectlayer/gameobjecttypes#chairs
Test
objectlayer::diff_interact_range

Finding: Chairs in objectlayer: game object types

A chair is usable within 3 yards of one of its seats, which lie 1 yard apart along the chair's local y axis, centred on it, up to chairslots of them; past every seat it refuses with ERR_USE_TOO_FAR, and a chair without seats is never usable. The seats are placed when the record arrives, through the object's world matrix.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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