TransportHandlerOnDeactivate
function · objectlayer · primitive
- Address
0x5f5dd0· 233 bytes, up to0x5f5eb8- Meaning
- Deactivates a transport: drops each passenger into a fall and destroys the entity
- 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 9
- OsGetAsyncTimeMs core
- ClntObjMgrObjectPtr objectlayer
- GetActiveCamera ui
- SetCameraTransport uicamera
- MapObjectHandlerOnDeactivate objectlayer
- CMovement::SetTransport collision
- CMovement::QueueStartFalling collision
- CMovement::StartFallingActive collision
- RemoveTransportFromList collision
Calls and jumps by a bare address, from tables/calls.tsv.