${Spawn} bugs

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

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

${Spawn} bugs

Post by kabl2k » Mon Jun 14, 2004 11:28 pm

I hate to bring this up again but ${Spawn[]} is seriously borked and i havent heard any mention of it's function changing with the new param system so i will have to assume these are bugs...

Code: Select all

/varset PullMobID ${Spawn[npc loc ${Mob1} radius 3].ID}
/target id ${PullMobID}
The way it stands right now if you use a search string to target a mob on a loc with a radius it will ignore the mob on that loc if present and ignore the radius # and target the next closest mob to that loc even outside the radius,,

and another bug i have just found with this code i use

Code: Select all

/varset PullMobID ${Spawn[npc loc ${Mob1}].ID}
/target id ${PullMobID}
if the mob does not exists on that loc that search then targets the closest mob to me instead of returning a 0 for PullMobID, i dont think this was the desired effect and certainly wasnt like that in the old searchspawn :)

thanx

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 15, 2004 1:34 am

Where did you find it documented that you can use a mob name for loc?

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 15, 2004 1:45 am

pc
npc
pet
nopet
corpse
trigger
untargetable
trap
check
timer
any
next
prev
lfg
gm
group
trader
range <int level_low> <int level_high>
loc <int X> <int Y>
id <int id>
radius <float R>
body <string bodytype>
class <string class>
race <string race>
light <string light>
GUILD // returns your guild members
guild <string guildname>
alert <int id>
noalert <int id>
notnearalert <int id>
nearalert <int id>
zradius <float R>
notid <int id>
nopcnear <float R>