WoW:API DoEmote: Difference between revisions

Added clarification on local variable, updated max number of emotes.
(Added clarification on local variable, updated max number of emotes.)
Line 28: Line 28:
=== Notes ===
=== Notes ===


* Executes one of the emotes based on the given token, including vocal emotes and animations.  The list of currently valid emotes is given in ChatFrame.lua, defined as one of the EMOTE''x''_TOKEN constants.  ''x'' starts at 1 and goes up to MAXEMOTEINDEX (which is 451 in WotLK 3.0.3).
* Executes one of the emotes based on the given token, including vocal emotes and animations.  The list of currently valid emotes is given in ChatFrame.lua, defined as one of the EMOTE''x''_TOKEN constants.  ''x'' starts at 1 and goes up to ChatFrame.lua's local variable MAXEMOTEINDEX (which is 452 in WotLK 3.3.0).
* Emotes in TextEmoteSpeechList will trigger vocal effects. (defined in ChatFrame.lua)
* Emotes in TextEmoteSpeechList will trigger vocal effects. (defined in ChatFrame.lua)
* Emotes in EmoteList will trigger animation effects. (defined in ChatFrame.lua)
* Emotes in EmoteList will trigger animation effects. (defined in ChatFrame.lua)
* It is unclear whether two these lists contain all valid animation or speech effects, however.
* It is unclear whether two these lists contain all valid animation or speech effects, however.
* You cannot use the second option to specify a target, only to specify the absence of a target.
* You cannot use the second option to specify a target, only to specify the absence of a target.
Anonymous user