benilla-re systems structs docs

OnDynamicObjectModelEvent

function · objectlayer · orchestration

Address
0x5d5540 · 59 bytes, up to 0x5d557a
Meaning
Resolves the dynamic object of a model event and plays its sound or shake
Confidence
verified, proof one
Finding
objectlayer/dynamicobjects#model-events-and-looping

Finding: Model events and looping in objectlayer: dynamic objects

The event callback 0x5d5540 resolves the GUID with mask 0x40 and calls 0x5d58c0. The model tag $SND plays the sound whose id is the event's argument at the object's position at full volume; $SHK adds each of the three shakes of the camera-shake row the argument names. Any other tag prints a message. The done callback 0x5d5580 acts on a natural end only: it restarts animation 158 when the model has it, else animation 0.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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