DoodadModelEvent
function · terrain · host
- Address
0x6951e0· 185 bytes, up to0x695298- Signature
void __stdcall (void *model, uint32_t event, uint32_t, uint32_t, uint32_t, void *def)- Meaning
- Plays, loops or ends a doodad model's sound for the event codes $DSO, $DSL and $DSE
- Confidence
- verified, proof one
- Finding
- terrain/doodads#doodad-model-events
Finding: Doodad model events in terrain: doodad defs
0x6951e0 handles the sound events of a doodad model by the event code. $DSO plays the sound
at the position with volume 1.0; $DSL starts a looping sound emitter for the def, replacing the
current one if the sound differs, or moves it; $DSE ends the emitter.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- PlaySoundAtArgs sound
- AddEmitter sound
- RemoveEmitter sound
- MoveEmitter sound
- GetEmitterSoundId sound
Calls and jumps by a bare address, from tables/calls.tsv.