Thread Tools Display Modes
08/31/15, 07:55 AM   #1
ZunaSW
Join Date: Mar 2014
Posts: 37
Cancelling an emote

Hrm, I do not know if the title is enough to have a view of the idea, but here it is, I would like to know if it is possible to do this.
My plan is to write a slash command in the chat, an emote is played, and in X time the emote is cancelled. I looked if there was a function that could cancel emotes, but I couldn't find one, so I thought of using the shift key.
When Shift key is pressed, automatically the emote is cancelled (shift or the key you have for sprinting).

Is there any way to make the key be pressed when you write a slash command in the chat after a few moments without actually press the key?

Would be something like: Write slash command->few seconds->key pressed automatically.

I've been looking in the wiki for something for the key, but I can't find anything
  Reply With Quote
08/31/15, 02:28 PM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
To prevent botting we are not able to press keys of movement etc. by help of addons.
Otherwise addons would be able to move your players around etc.

Maybe there is another method to abort the emote.
What else is aborting an emote ingame? Starting to wrie a chat message?
or executing another emote that does not exist maybe?
  Reply With Quote
08/31/15, 02:57 PM   #3
ZunaSW
Join Date: Mar 2014
Posts: 37
Hrm, that's sad...

The other way is just using /idle. Guess that is much easier... xD
  Reply With Quote
08/31/15, 03:08 PM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
And looks better ;-)
Maybe put a setting to specify the standard emote (standard "cancel" emote) too, so ppl can choose if it should be idle or coin flip or whatever
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Cancelling an emote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off