PlaySoundAtArgs
function · sound · orchestration
- Address
0x458870· 27 bytes, up to0x45888a- Meaning
- Plays a sound id at a position on bus 0
- Confidence
- verified, proof one
- Finding
- sound/entries#playing-at-a-position
- Test
sound::sound_emit_pos_z2
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 20
- PlayShieldImpact sound
- PlayMaterialSound sound
- PlaySheatheSound sound
- PlayAbsorbSound sound
- PlaySpellSchoolSound sound
- PlayCombatMiss sound
- CGGameUI::HandlePacket ui
- DynamicObjectModelEvent objectlayer
- AnimatedHandlerOnModelEvent objectlayer
- PlayHandlerSound objectlayer
- PlayUnitSpellVisualKit objectlayer
- CEffect::OnModelEvent objectlayer
- UpdateSpellEffectObject objectlayer
- CGUnit_C::PlayFoley objectlayer
- CGUnit_C::PlayDeathThud objectlayer
- CGUnit_C::PlayEmoteStateSound objectlayer
- CGUnit_C::PlaySpiritWolfSound objectlayer
- CGPlayer_C::PlayPrecastSound objectlayer
- DoodadModelEvent terrain
- ShardModelEventCallback spell
Callees 1
- PlaySoundAtPosition sound
Calls and jumps by a bare address, from tables/calls.tsv.