Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API DoEmote

Last wiki revision 2023-08-13

Performs an emote. restricted = DoEmote(token [, unit, hold])

  • token: : EmoteToken - The emote to perform.
  • unit: : UnitId - Who the emote will be performed on. Defaults to the current target.
  • hold: - Supposedly holds the emote animation until canceled, like for the /read emote.
  • restricted: - If an emote is restricted this tells the UI to show it as an unrecognized chat command. For example while being alliance.
  • The list of emotes is in ChatFrame.lua and GlobalStrings.lua
  • Does not require a hardware event. There is a ~0.25 second server-side throttle on performing an emote, since somewhere in 2011 when it was abused.
  • Quirk: UnitIDs like "target" do not appear to work on NPCs, but it works while omitting the param.

Similar to, if you are targeting something <font color="#dda0dd">"You greet %s with a hearty hello!" , otherwise <font color="#dda0dd">"You greet everyone with a hearty hello!" To ensure an emote is not aimed at a target.

List of emote tokens in and

  • for sending custom emote text similar to or

Source

https://warcraft.wiki.gg/wiki/API_DoEmote · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.