Thread Tools Display Modes
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

WoWInterface » Developer Discussions » Lua/XML Help » Targetting by clicking on frame


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off