benilla-re systems structs docs

CGUnit_C::PlayDeathThud

function · objectlayer · primitive

Address
0x6236e0 · 211 bytes, up to 0x6237b2
Meaning
Plays a unit's death thud by its size and ground, or its water thud
Confidence
verified, proof one
Finding
objectlayer/sounds#death-thud-and-emote-sounds
Test
objectlayer::diff_land_height

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 1

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.