WoW:API DoEmote: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 28: Line 28:
<!-- Details not appropriate for the main description can go here -->
<!-- Details not appropriate for the main description can go here -->
: Executes one of the emotes based on the given token, including vocal emotes.  The list of currently valid emotes is given in ChatFrame.lua, defined as one of the EMOTE<i>x</i>_TOKEN constants.  <i>x</i> starts at 1 and currently goes up to 170 (as of 1.3.0).  Certain emotes may also trigger character animations and sound effects.
: Executes one of the emotes based on the given token, including vocal emotes.  The list of currently valid emotes is given in ChatFrame.lua, defined as one of the EMOTE<i>x</i>_TOKEN constants.  <i>x</i> starts at 1 and currently goes up to 170 (as of 1.3.0).  Certain emotes may also trigger character animations and sound effects.


----
----
{{Template:WoW API}}
{{WoW API}}
<!-- Update the category to the appropriate subsection, and be sure to put the function name as the label for the category link. Multiple subcategories are okay if appropriate, please dont link functions to the API Functions category directly. -->
[[Category:API Functions|DoEmote]]
[[Category:API Communication Functions|DoEmote]]
[[Category:API Chat Functions|DoEmote]]

Revision as of 04:54, 4 January 2006

DoEmote -Documentation by Xenoveritas-


DoEmote("token", "message");


Executes an emote.


Arguments
("token", "message")
token
String - the token that describes which emote is being used. It is one of the emotes defined in ChatFrame.lua, as EMOTEx_TOKEN.
message
String - target / additional command for the emote? It appears that if this is a player name, then the emote is "done" to the player for emotes that support that.

Returns
Nothing.

Details
Executes one of the emotes based on the given token, including vocal emotes. The list of currently valid emotes is given in ChatFrame.lua, defined as one of the EMOTEx_TOKEN constants. x starts at 1 and currently goes up to 170 (as of 1.3.0). Certain emotes may also trigger character animations and sound effects.



Template:WoW API