CGUnit_C::PlayEmoteVoice
function · objectlayer · primitive
- Address
0x623c10· 111 bytes, up to0x623c7e- Meaning
- Plays an emote voice at attachment 17 attached to the unit, replacing the last
- Confidence
- verified, proof one
- Finding
- objectlayer/sounds#death-thud-and-emote-sounds
Finding: Death thud and emote sounds in objectlayer: unit sounds
$DTH plays a death thud for a unit below size class 5: the DeathThudLookups sound for its size
and ground, the water one when it stands in liquid, and none when the surface lies more than two
yards above its feet. $ESD plays the sound of the unit's emote state when its Emotes
row has kind 2. A text emote's voice plays only for the player or a party member's emote, and only
with EmoteSounds on.
The derivation is in the doc.
Callers 2
- CGUnit_C::OnModelEvent objectlayer
- CGUnit_C::PlayTextEmoteVoice objectlayer
Callees 5
- PlaySoundAtPositionKept2 sound
- CGUnit_C::GetAttachmentPoint objectlayer
- CVar::Lookup cvar
- Sound::Stop sound
- Sound::Set3DUpdateHandle sound
Calls and jumps by a bare address, from tables/calls.tsv.