benilla-re systems structs docs

s_transportAnimDoneCases

global · objectlayer

Address
0x5f4a04 · 165 bytes, up to 0x5f4aa8
Type
uint8_t[165]
Meaning
Holds the case of each animation 0 to 0xa4 for the transport entity's done callback 0x5f49b0
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.