View Single Post
05-30-08, 08:28 PM   #1
Sciaracastro
A Defias Bandit
Join Date: May 2008
Posts: 2
Targetting by clicking on frame

I have this frame that inherits SecureUnitButtonTemplate (it inherits a template that inherits SecureUnitButtonTemplate actually, but i guess it's the same) and i want it to target a certain unit.

When this frame loads it does:
Code:
this:SetAttribute("type1", "macro")
this:SetAttribute("macrotext", "/targetexact nil")
When clicking on it, it does: (i previously saved the target name in targ)
Code:
this:SetAttribute("macrotext", "/targetexact "..targ)
it doesnt work at all.

how to fix it?
  Reply With Quote