benilla-re systems structs docs

PlaceChairSeats

function · objectlayer · primitive

Address
0x47cf60 · 134 bytes, up to 0x47cfe5
Signature
void __fastcall (const NTempest::C44Matrix *matrix, uint32_t count, float *out)
Meaning
Places a chair's seats 1 yard apart along its local y axis through its world matrix
Confidence
verified, proof one
Finding
objectlayer/gameobjecttypes#chairs
Test
objectlayer::ot_transport_segment_offset0_difftest, objectlayer::ot_transport_segment_local_y_difftest

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 1

Callees 1

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