benilla-re systems structs docs

ReadEmote

function · objectlayer · orchestration

Address
0x5e66b0 · 117 bytes, up to 0x5e6724
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Plays an emote on a unit that is neither asleep nor under mover flag bit 21
Confidence
verified, proof one
Finding
objectlayer/interaction#text-emotes

Finding: Text emotes in objectlayer: interaction

0x5ef560(text, guid) performs a text emote unless UNIT_FIELD_FLAGS has 0x1000000. The Emotes row it names must pass 0x47db40; one marked for standing still is refused while moving with ERR_NOEMOTEWHILERUNNING; a sleeping player only takes stand-state emotes. A stand-state emote of a state in 0x10b changes the stand state; another plays its animation while the player moves plainly. It sends 0x104 with the text id, a number from the race and gender, and the target, 0 for the player itself. 0x103 plays an emote on a unit that is not asleep or under mover flag 0x200000.

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.