Page 1 of 1
"NPC TARGET" in a macro
Posted: Mon Aug 11, 2014 6:12 pm
by Lamkefyned
Hi!
I need help
as I can use this code
in a macro game?
Re: "NPC TARGET" in a macro
Posted: Mon Aug 11, 2014 8:58 pm
by i1own0u
/run for i=1,15 do local x=UnitName("target") if not (x == "") then TargetNearestFriend() else break end end
Put name of NPC in the "".
Re: "NPC TARGET" in a macro
Posted: Mon Aug 11, 2014 10:55 pm
by Lamkefyned
NPC is hidden and I need to talk to that npc but this code does not work with me
Re: "NPC TARGET" in a macro
Posted: Mon Aug 11, 2014 11:24 pm
by lisa
Lamkefyned wrote:NPC is hidden
if NPC is hidden then you can't talk to it in game, MM can because it targets using memory.
Re: "NPC TARGET" in a macro
Posted: Tue Aug 12, 2014 6:45 am
by Lamkefyned
AHH okay thank you very much