CreateMapObjectEntity
function · objectlayer · orchestration
- Address
0x5f4970· 59 bytes, up to0x5f49aa- Meaning
- Creates a map object handler's world entity
- 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 2
- MapObjectHandlerOnRecordArrived objectlayer
- MapObjectHandlerOnReactivated objectlayer
Callees 1
- CGGameObject_C::CreateMapEntity objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.