InternalPlaySoundAt
function · sound · primitive
- Address
0x45cf00· 224 bytes, up to0x45cfdf- Meaning
- Opens a sound id at a position unless beyond its cutoff, with volume, distances and reverb
- Confidence
- verified, proof one
- Finding
- sound/entries#playing-at-a-position
Finding: Playing at a position in sound: sound entries and plays
0x45cf00(culled, keep, noCategory, bus, id, pos, index, m) refuses a position at or beyond the
definition's cutoff from the listener, setting *culled. Otherwise it opens the file with
Sound::Play3D, sets the play volume, the position, the cutoff and the distances (the definition's
minimum, maximum 100000.0), unpauses, and sets the channel reverb. 0x458890 and 0x45cfe0, the
same function in two files, return 1 when it plays or is culled and 0 when it fails.
0x458870(id, pos, index, m) is bus 0; 0x4588d0 bus 2; 0x458f90 and 0x459230 keep the sound.
The derivation is in the doc.
Callers 5
- PlaySoundAtPosition sound
- PlaySoundAtPositionKept sound
- PlayServerObjectSound sound
- PlaySoundAtPositionKept2 sound
- PlaySoundAtPosition2 sound
Callees 10
- ApplySoundDefVolumePitch sound
- ApplySoundDefDistances sound
- ApplySoundDefReverb sound
- GetSoundDefDupeFlag sound
- PickSoundDefFile sound
- GetSoundDefinition sound
- IsWithinListenerDistance sound
- Sound::Play3D sound
- Sound::Stop sound
- Sound::SetPaused sound
Calls and jumps by a bare address, from tables/calls.tsv.