CGUnit_C::PlayNPCSound
function · objectlayer · primitive
- Address
0x60c3b0· 203 bytes, up to0x60c47a- Meaning
- Plays the display's NPCSounds +0x4 or +0x8 sound for a live creature
- Confidence
- verified, proof one
- Finding
- objectlayer/unitnames#greetings-and-unit-sounds
Finding: Greetings and unit sounds in objectlayer: unit names and markers
0x60c270 plays a creature's greeting when the player clicks it: alive, not already speaking,
neutral or better both ways with the player's mover, the player alive. Clicking the same unit
again steps through its greetings; another unit starts over. 0x60c3b0 plays a farewell from the
display's NPCSounds row. Three server messages play unit sounds.
The derivation is in the doc.
Callers 2
Callees 4
- PlaySoundAtPositionKept sound
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- IsDeadOrGhost objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.