benilla-re systems structs docs

Script::DoEmote

function · ui · primitive

Address
0x49fd30 · 267 bytes, up to 0x49fe3a
Signature
int __fastcall (lua_State *L)
Meaning
Performs the text emote of a token on the target or a named player
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/chatemote#doemote

Finding: DoEmote in ui: received text emotes

DoEmote(token [, target]) raises Usage: DoEmote("emote"[, "target"]) for a non-string token. It searches the EmotesText rows from the last to the first for a name equal to the token without regard to case; an unknown token does nothing. The target is the current target unless the second argument is a nonempty string that does not begin with %: then it is the best player for that name by ui/targeting#matching-a-name (party members first, then the raid, then player objects, by name or shared prefix), and no match leaves a zero target. It calls SendTextEmote for the active player with the row and the target and makes no check of its own on the player's state.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 8

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