Go to Page... |
Updated: | 11-05-13 07:15 AM |
Created: | 01-08-13 08:37 PM |
Downloads: | 2,249 |
Favorites: | 21 |
MD5: |
File Name |
Version |
Size |
Author |
Date |
2.0.4 |
79kB |
Bullarky |
07-29-13 06:54 AM |
|
2.0.3 |
79kB |
Bullarky |
06-26-13 06:20 AM |
|
2.0.2 |
78kB |
Bullarky |
06-21-13 03:24 PM |
Comment Options |
Thanos Mortis |
View Public Profile |
Send a private message to Thanos Mortis |
Find More Posts by Thanos Mortis |
Add Thanos Mortis to Your Buddy List |
10-25-13, 02:48 AM | |
Forum posts: 0
File comments: 1
Uploads: 0
|
I'm not an addon author by a longshot, but wouldn't adding the keybind functionality that's been requested be as simple as adding two new slash commands that call the same function that mouseclick does?
Your addon doesn't have to interact with macroing or keybinds or anything that way, though you might have to move the config screen from being the default that happens when someone types /mountme to being when they use config as as slashcmd option. |
|
Nalanthus |
View Public Profile |
Send a private message to Nalanthus |
Find More Posts by Nalanthus |
Add Nalanthus to Your Buddy List |
10-25-13, 11:34 AM | ||
|
Quote:
1) You set up a macro and bind it to a key (ie /mountme mount). 2) You click your bound key (the addon has no idea what key you pressed or when you pressed it). 3) The addon get's a message /mountme mount 4) The addon uses this message to select a random mount 5) The addon has a random mount selected but has no way of communicating back to the client. The API prevents code from executing directly to the client without user intervention. It is because of #5 above that it has to be bound to a button click. I trap mouse down on the button and select a mount. When you release the mouse, I then execute the macro. Unfortunately, we can't do that with keyboard binds as we have no control over key presses outside our addon's user interface. Many, many addon developers want this functionality, but Trion will not provide it as it opens their clients up to botting and exploitation. However, if they ever give us the ability to hook a keyboard event outside our addon's user interface, I will be the first to add it in. I wish I had better news, but for now, we are stuck with clicking a button. Thanks for using the addon.
Last edited by Bullarky : 10-25-13 at 11:36 AM.
|
|
|
Bullarky |
View Public Profile |
Send a private message to Bullarky |
Find More Posts by Bullarky |
Add Bullarky to Your Buddy List |