WoW:API DoEmote: Difference between revisions
Jump to navigation
Jump to search
DoEmote -Documentation by Xenoveritas-
No edit summary |
(Typo on link) |
||
Line 14: | Line 14: | ||
:("token", "message") | :("token", "message") | ||
:;token : String - the token that describes which emote is being used. | :;token : String - the token that describes which emote is being used. See [[API_TYPE_Emotes_Token|Emotes Tokens]] | ||
:;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. | :;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. | ||
Revision as of 16:59, 8 April 2006
DoEmote("token", "message");
Executes an emote.
- Arguments
- ("token", "message")
- token
- String - the token that describes which emote is being used. See Emotes Tokens
- 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.