benilla-re systems structs docs

TransportHandlerOnBoard

function · objectlayer · primitive

Address
0x5f6490 · 175 bytes, up to 0x5f653e
Meaning
Boards a mover onto a transport, flagging it while the model is not loaded
Confidence
verified, proof two
Finding
objectlayer/transports#passengers

Finding: Passengers in objectlayer: transports

Boarding (slot 19) unlinks the mover from its list and appends it to the passengers; while the entity is missing or not ready, the mover gets flag 0x8000000. Deactivation (slot 26) takes each passenger off: the camera following it loses its transport, the active mover queues a fall start and any other starts falling, and its transport is cleared. Then the object leaves the transport list and the entity is destroyed. A point is inside (slot 21) when there is no entity, else by IsPointInEntity. The transport type does the same; its boarding tests the object through 0x614eb0 instead of the entity.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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