Page 1 of 1
What am i missing?
Posted: Sun Oct 24, 2004 3:43 am
by n00bCoder
Basically, i stick in a name, go about my buisness and if i ever am in the same zone as specified critter, it goes berzerk till i kill and loot it... At least, thats what it's supposed to do.... Just a spawn notification, crude but effective, but it doesnt seem to work anymore. Any ideas?
Code: Select all
sub main
:loop
/if (${Spawn[Creature].ID}>0) /popup Destroy!
/target Creature
/delay 5
/face
/goto :loop
/endmacro
end
I would like to get this working, if you have any alternatives i would not mind them either, but i would like to get this one up and running. Thanks!
Posted: Sun Oct 24, 2004 4:36 am
by ieatacid
Assuming "Creature" is the name of the mob you're talking about:
Code: Select all
Sub Main
:loop
/if (${Spawn[Creature].ID}) {
/popup Destroy!
/target Creature
/delay 5
/face
}
/goto :loop
/return
Re: What am i missing?
Posted: Sun Oct 24, 2004 5:29 am
by Fluffy
n00bCoder wrote:Basically, i stick in a name, go about my buisness and if i ever am in the same zone as specified critter, it goes berzerk till i kill and loot it... At least, thats what it's supposed to do.... Just a spawn notification, crude but effective, but it doesnt seem to work anymore. Any ideas?
Code: Select all
sub main
:loop
/if (${Spawn[Creature].ID}>0) /popup Destroy!
/target Creature
/delay 5
/face
/goto :loop
/endmacro
end
I would like to get this working, if you have any alternatives i would not mind them either, but i would like to get this one up and running. Thanks!
Are you running this like /mac mymacro "An Ancient Cyclops"??
If so then yes this will not work.. I dont know how this could have ever worked... You would need to parse through the whole zone... And or just try to target it over and over again until it poped up.. Explain in detail what this was supposed to have done.. And I can help out..
Posted: Sun Oct 24, 2004 6:56 am
by n00bCoder
I see! thanks! i'll test it later.. so basically i have to put the commands in {} things? gothca...