benilla-re systems structs docs

OnUnitReaction

function · objectlayer · orchestration

Address
0x604060 · 87 bytes, up to 0x6040b6
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Reads opcode 0x13c's GUID and u32 and passes the u32 to the unit's 0x6056e0
Confidence
verified, proof one
Name from
the community database (idb)
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 0

None by a direct call or jump.

Callees 4

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