Thread Tools Display Modes
Prev Previous Post   Next Post Next
05-26-24, 05:02 AM   #4
savo
A Murloc Raider
AddOn Author - Click to view addons
Join Date: May 2024
Posts: 4
Originally Posted by SDPhantom View Post
For dynamically creating keybinds, you need to use the SetBinding* functions.

Here's an additional link you may be interested in.
https://warcraft.wiki.gg/wiki/Creati...indings_in_Lua
The reason i'm creating the addon the way i am is because they register on KeyDown as opposed to the SetBinding functions, which only triggers on KeyUp.

Also i would really prefer to use default Key Bindings UI as im not really experienced enough to build my own UI to set it up.


I did manage to figure out a workaround that im satisfied with by just changing the name of the category to "Additional Bindings - ClassName", which reduces the flood/amount of lines and should not overwhelm the player.

Thanks for the replies.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Trying to Hide/Disable fields in bindings.xml via lua


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