${Spawn}

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

Moderator: MacroQuest Developers

kabl2k
a hill giant
a hill giant
Posts: 168
Joined: Fri Feb 20, 2004 6:25 pm

${Spawn}

Post by kabl2k » Sun Jun 06, 2004 12:38 pm

i know that ${Spawn[ radius loc]} wasnt working right, it wouldnt look at the loc at all but find the next one in the radius has this been fixed i havent heard anything about it lately? or is there another way to do that kind of search? i cant use my macro because of this at the moment..

User avatar
nosaj969
a lesser mummy
a lesser mummy
Posts: 33
Joined: Wed Apr 28, 2004 3:39 pm
Location: Hagerstown, MD

${Spawn[loc]}

Post by nosaj969 » Tue Jun 08, 2004 8:50 am

What is the syntax for making ${Spawn[loc]} work to find the closest spawn to the loc you give it?

Code: Select all

${Spawn[loc Y,X]} 
${Spawn[loc Y:X]} 
${Spawn[loc Y X]} 
everything I try just gives me the closest spawn to me and pays no attention to the loc.

Thanks
nosaj969

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Tue Jun 08, 2004 3:16 pm

${Spawn[npc loc ${X} ${Y} radius ${SRadius}]}

works fine.