checking for mobs and adds in a certain radius

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

NobodyImportant
a lesser mummy
a lesser mummy
Posts: 46
Joined: Sun Nov 02, 2003 8:42 pm

checking for mobs and adds in a certain radius

Post by NobodyImportant » Wed Mar 03, 2004 1:10 am

Ok, i used to do alot of mac making but since we upgraded to mq2 i havent really touched it at all, ive looked around and tried to use some of the new commands but im not having much luck putting them into code,
i finally figured out how to convert everything, but what im wanting to do is check for mobs in a certain radius, say 100 radius from a cetain loc, not me, but a loc, and then, know when an add comes into the radius if some1 could post the coding, or explain how to build it i would be most appreciative

User avatar
Elric
Cheese Whore
Cheese Whore
Posts: 466
Joined: Sun Nov 23, 2003 12:31 am
Location: Tampa, Fl
Contact:

Post by Elric » Wed Mar 03, 2004 1:21 am

Kay.. I'm gonna be nice this time, since you have a total of 8 posts.. though I really shouldn't be.

http://macroquest2.com/main.php?p=manual#sv
http://macroquest2.com/main.php?p=manual#t
-Elric

NobodyImportant
a lesser mummy
a lesser mummy
Posts: 46
Joined: Sun Nov 02, 2003 8:42 pm

Post by NobodyImportant » Wed Mar 03, 2004 11:46 am

well, if i deserve to be flamed i really dont mind it, i'll call myself a dipshit dumbass b4 anyone else would:) however i found those commands, and like i said i didnt really understand how to put them into coding, tried a few times, and failed, so if you could maybe give me a small example i can take it from there

Gumby
a ghoul
a ghoul
Posts: 99
Joined: Sat Jan 24, 2004 5:27 pm

Post by Gumby » Wed Mar 03, 2004 2:30 pm

NobodyImportant wrote:well, if i deserve to be flamed i really dont mind it, i'll call myself a dipshit dumbass b4 anyone else would:) however i found those commands, and like i said i didnt really understand how to put them into coding, tried a few times, and failed, so if you could maybe give me a small example i can take it from there
This is why the Search feature is so useful for finding small examples of things not understood. Unfortunately, I'd estimate 3 out of every 10 posts to this forum don't bother to use it.

30 seconds to find this:

http://macroquest2.com/phpBB2/viewtopic ... earchspawn

And yes, laziness is eminently flameworthy :).

G