benilla-re systems structs docs

DynamicObjectModelEvent

function · objectlayer · primitive

Address
0x5d58c0 · 144 bytes, up to 0x5d594f
Meaning
Plays the $SND sound or the $SHK camera shakes of a model event
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 1

Callees 4

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