Hi all.
If I create a a button that inherits SecureUnitButtonTemplate and do the following:
buttonobjekt:SetAttribute("type1", "spell");
buttonobjekt:SetAttribute("unit1", "raid2");
buttonobjekt:SetAttribute("spell1", "a spell");
shouldn't this create a button where "a spell" for target "raid2" is casted on left mouse button??!??
My problem is ... doesn't matter what I use for buttonobjekt:SetAttribute("unit1", "a unit"); ... the spell is casted on myself.
I'm confused. Could someone please help me out of that?
Duugu