"NPC TARGET" in a macro

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
Lamkefyned
Posts: 348
Joined: Thu May 23, 2013 11:38 am
Location: Spain

"NPC TARGET" in a macro

#1 Post by Lamkefyned »

Hi!

I need help

as I can use this code

Code: Select all

    	 player:target_NPC(565456);
in a macro game?
If you think something is right just because everyone else believes,you're not thinking.
i1own0u
Posts: 32
Joined: Mon Mar 19, 2012 6:32 pm

Re: "NPC TARGET" in a macro

#2 Post 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 "".
User avatar
Lamkefyned
Posts: 348
Joined: Thu May 23, 2013 11:38 am
Location: Spain

Re: "NPC TARGET" in a macro

#3 Post by Lamkefyned »

NPC is hidden and I need to talk to that npc but this code does not work with me
If you think something is right just because everyone else believes,you're not thinking.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: "NPC TARGET" in a macro

#4 Post 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.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
User avatar
Lamkefyned
Posts: 348
Joined: Thu May 23, 2013 11:38 am
Location: Spain

Re: "NPC TARGET" in a macro

#5 Post by Lamkefyned »

AHH okay thank you very much
If you think something is right just because everyone else believes,you're not thinking.
Post Reply