Bind spell to a actionbutton
Is there an API or method available that allows for the assignment of a spell to an action button without the need to manually drag and drop the spell from the spellbook to the desired action button?
SetBindingSpell does this:
SetBindingSpell("key", "spell");
I need something like this:
SetBindingSpell("ACTIONBUTTON1", "Frostbolt");
|