View Single Post
11-16-10, 12:03 PM   #1
kraftman
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 63
Binding a key directly to a companion

I'm trying to allow users of my addon to directly bind keys to companions.

SetBindingSpell("key", "spell name") doesn't seem to work, SetBindingSpell("key", "spellID") seems to set the spell properly, in that GetSpellTexture(GetBindingAction("key")) returns the correct texture for the spell, however pressing the key doesn't call the companion.

Is there another way to do this that doesn't involve either creating a macro, or creating a button?
  Reply With Quote