View Single Post
06/01/14, 07:49 AM   #4
hulksmash
 
hulksmash's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 30
Originally Posted by katkat42 View Post
But no, I'm afraid this probably won't be possible -- when you define new keybindings, you have to do them in XML, and I don't know of a way to do it programmatically or dynamically. So you're limited to the keybinds you define in advance. Am I explaining this clearly?

Yeah thats kind of what I was kind of grasping from the wiki. I guess to be clear with my question I wanted to make dynamic key bindings with lua and no xml. In my SWAPS addon, I made it so you can make an unlimited number of skill presets but everyone wanted key bindings to a preset. My idea was to set a keybinding as you make a skill preset. Which meant you can make any preset bound until you run out of keyboard keys.

So based on what you said, dynamic keybinding might not be possible.
  Reply With Quote