Target.Named

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

Fatboy5706
decaying skeleton
decaying skeleton
Posts: 8
Joined: Fri Oct 17, 2008 3:53 pm

Target.Named

Post by Fatboy5706 » Thu Dec 16, 2010 7:11 pm

Does this still work? i keep getting NULL when trying it out.

caj
a hill giant
a hill giant
Posts: 244
Joined: Tue Sep 12, 2006 9:35 am

Re: Target.Named

Post by caj » Sat Dec 18, 2010 7:32 pm


PeteSampras
a snow griffon
a snow griffon
Posts: 322
Joined: Sat Dec 15, 2007 8:56 pm

Re: Target.Named

Post by PeteSampras » Sun Jan 02, 2011 1:50 pm

.Named rarely works in HoT. use the following line instead for slightly better results. it is not perfect:

(${Target.Name.Find[#]}||${Target.Named})

Jastur
a lesser mummy
a lesser mummy
Posts: 39
Joined: Sun Apr 23, 2006 4:55 pm
Location: Rhode Island

Re: Target.Named

Post by Jastur » Sat Jan 08, 2011 3:01 pm

Keep in mind that there are many zones where every NPC will show as a named, an example from UF would be Foundation. Target.Named was a working solution for some of the first few expansions of the game, the more recent expansions break the old method of determining if something is a named or not. I would use the stuff from Pete's post, but remove the || ${Target.Named} part. This symbol '#' prefixed on the name indicates one of three things. 1. The NPC is some sort of important NPC (quest, event giver, raid / mission etc.), 2. target is a pseudo named and typically someone you have to kill for a quest. or 3. and actual named mob.