PlayObjectSoundLoop
function · sound · orchestration
- Address
0x458ab0· 211 bytes, up to0x458b82- Meaning
- Opens a sound id as a 3D loop at an object, fades it in and makes it follow the object
- Confidence
- verified, proof one
- Finding
- sound/entries#looped-plays
Finding: Looped plays in sound: sound entries and plays
0x458900(id, ambience, noCategory) opens a definition's file as a 2D loop on bus 0, with flag 0x8
for ambience and 0x10 for noCategory, sets the volume and pitch, and unpauses. 0x4588f0 is the
ambience form; 0x458990 is the cinematic sequence's sound. 0x4589a0(id, pos) opens a 3D loop at a
position. 0x458ab0(object, id, seconds, index) opens a 3D loop at the object, fades it in from 0 to
level 255 over seconds, and makes it follow the object; the fade ends at volume 1.0 whatever the
definition says. The dynamic object code passes 2.0 s.
The derivation is in the doc.
Callers 1
- DynamicObjectStartAreaKit objectlayer
Callees 11
- SndInterfaceAssociateSoundWithObject sound
- ApplySoundDefVolumePitch sound
- ApplySoundDefDistances sound
- ApplySoundDefReverb sound
- GetSoundDefDupeFlag sound
- PickSoundDefFile sound
- GetSoundDefinition sound
- Sound::Play3DLooped sound
- Sound::Stop sound
- Sound::FadeIn sound
- Sound::SetPaused sound
Calls and jumps by a bare address, from tables/calls.tsv.