CGUnit_C::OnAIReaction
function · objectlayer · primitive
- Address
0x6056e0· 43 bytes, up to0x60570a- Meaning
- Plays slot 34's sound 8 for reaction 0 or calls 0x623a40(0) for 2
- 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 1
- OnUnitReaction objectlayer
Callees 1
- CGUnit_C::PlayReaction objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.