benilla-re systems structs docs

OnTransportEntityAnimationDone

function · objectlayer · orchestration

Address
0x5f49b0 · 68 bytes, up to 0x5f49f3
Meaning
Chains a transport entity's animations when one ends: 0xa2 to 0xa3, 0xa4 to 0, 0 and 0xa3 stop, others replay
Confidence
verified, proof two
Finding
objectlayer/transports#map-objects

Finding: Map objects in objectlayer: transports

A type 14 handler holds a world entity at +0x10. Its record arrival and reactivation create it: CWorld::CreateMapEntity with the model path of the GameObjectDisplayInfo row of GAMEOBJECT_DISPLAYID, the object's position and facing, and its GUID for types 11 and 15, 0 for others. Without the row it prints NOOBJECTFILENAME|%d|%d|Game with the display and entry ids and passes no path; a display id of 0 passes no path and prints nothing (0x5f8099). Deactivation and the destructor destroy the entity. The entity's done callback chains the transports' animations: accelerating (0xa2) plays cruising (0xa3), decelerating (0xa4) plays standing (0); after standing or cruising nothing plays, and any other animation replays itself.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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