PlaySoundAtPositionKept2
function · sound · orchestration
- Address
0x459230· 32 bytes, up to0x45924f- Meaning
- Plays a sound id at a position on bus 0 and keeps its record
- 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 3
- HandlePetDismissSoundPacket objectlayer
- CGUnit_C::PlayReaction objectlayer
- CGUnit_C::PlayEmoteVoice objectlayer
Callees 1
- InternalPlaySoundAt sound
Calls and jumps by a bare address, from tables/calls.tsv.