benilla-re systems structs docs

DestroyMapObjectEntity

function · objectlayer · orchestration

Address
0x5f4950 · 24 bytes, up to 0x5f4967
Meaning
Destroys a map object handler's world entity
Confidence
verified, proof one
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 2

Callees 1

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