Targeting individual mobs

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

Lichbait
decaying skeleton
decaying skeleton
Posts: 5
Joined: Fri Sep 20, 2002 2:27 am

Targeting individual mobs

Post by Lichbait » Wed Nov 27, 2002 4:55 pm

I would like to know how to target specific mobs. Do they have id codes? can I do a /who and show id codes so I can subsequently target them using that?

Lichbait

Malachi
a hill giant
a hill giant
Posts: 227
Joined: Tue Nov 19, 2002 1:29 am
Contact:

hehe, RTFM

Post by Malachi » Thu Nov 28, 2002 1:23 am

rtfm....
/target [pc|npc|corpse|pet] [class <class>] [race <race>] [range <min> <max>] [noalert #] [nearalert #] [notnearalert #] [zradius <zheight>]
[radius <distance>] [nopcnear <radius>] [notid|id <spawnid>] [spawnname|myself|mycorpse|alert #]
Targets nearest mob meeting all requirements

pc, npc, corpse, pet limits matching to specific type of spawn (default all)
class <class> limits matching to a particular class
race <race> limits matching to a particular race
range <min> <max> limits matching to level range
radius <distance> limits matching to a distance away from you
zradius <zheight> limits matching to a Z height
noalert # limits matching to spawns that are not on alert list #
nearalert # limits matching to spawns that have an alert that would be active at their location
notnearalert # limits matching to spawns that do not have an alert that would be active at their location
nopcnear <radius> limits matching to spawns that do not have a PC within radius of it
id <spawnid> limits matching to a specific spawn via id
notid <spawnid> limits matching to anything BUT a specific spawn via id
spawnname, myself, mycorpse, alert # limits matching to those that contain "name" or are "yourself", "your corpse" or a particular alert
In simple terms...."/target rattle" will target the closest rattlesnake.
then press autorun....and /face will take you there.
amazing readme, really...and boards too.

~Malachi
~Oh danny boy, the pipes the pipes are calling.~

Lichbait
decaying skeleton
decaying skeleton
Posts: 5
Joined: Fri Sep 20, 2002 2:27 am

Why does it always start with a flame?

Post by Lichbait » Thu Nov 28, 2002 2:49 pm

Wow, amazing insight. All that text and you didn't answer my question. I want to be able to target *specific* rattlesnakes, like the second closest, the third closest, the fourth closest, etc. Looking for something like


[8 Rattlesnake Warrior] (1157) rattlesnake, a (320.5 SW)
[8 Rattlesnake Warrior] (1169) rattlesnake, a (480.8 NE)
[9 Rattlesnake Warrior] (2029) rattlesnake, a (3325.5 S)


I want to be able to list like this, then target the second one. Currently I don't know a way to list the ID's or target specific mobs. That's the question I wanted answered. Wasn't really interested in some high and mighty sounding knowitall pointing at the manual.

Thank you for your time.

Lichbait

Malachi
a hill giant
a hill giant
Posts: 227
Joined: Tue Nov 19, 2002 1:29 am
Contact:

Ok then.

Post by Malachi » Thu Nov 28, 2002 5:51 pm

All right then. Wasn't intending to flame you there bro. If you read the boards then you know that mob levels are kept serverside now, so your plan to quicken your leveling won't work the way you want it to.

Again, if you look to the manual....it shows you how to identify spawn ID's. Why you'd want to do it this way I don't really know. Additionally, because mob levels are kept serverside, if you want to make it easy on yourself, just /target whatever, then press "c" to con it. You can con from across the zone. If it's blue, gopher it.

If you wanted to use a macro instead of native commands, then it would be pretty easy to modify the existing hunter.mac with events matching the level you want to /con, I've been thinking of doing that already.

Again, wasn't entirely intending to flame, however the answer to your question does exist in other posts and the manual. Feel free to think that my answer isn't good enough and to continue sitting on your hands until some nice person comes along to hold your hand and walk you through using the program instead of learning by trying like the rest of us.

/call EndofFlame
sub EndofFlame
/q
/unload

~Malachi
~Oh danny boy, the pipes the pipes are calling.~

morannon
a lesser mummy
a lesser mummy
Posts: 57
Joined: Sun Nov 03, 2002 3:50 pm

Post by morannon » Thu Nov 28, 2002 8:01 pm

Download the source, and modify the superwho function to return ID's too ?

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Fri Nov 29, 2002 1:31 am

Download the source, and modify the superwho function to return ID's too ?

its quite easy to do
#macroquest op
Macroquest Official Documentarion
Macroquest Board Moderator
All around cool guy

[img]http://medicomuerte.users.btopenworld.com/images/fairy_bounce08.gif[/img]

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Fri Nov 29, 2002 3:53 am

Yes, very easy. I did it to mine in 2 minutes, including recompiling.

Lichbait
decaying skeleton
decaying skeleton
Posts: 5
Joined: Fri Sep 20, 2002 2:27 am

Post by Lichbait » Fri Nov 29, 2002 12:37 pm

Well, as I don't have VS.NET, would it be too much to ask to have a flag put into the superwho, like you could type /who id rattlesnake and get the id's in the who? I mean for like the next release or something, not just for me. (Even tho I wouldn't mind someone sending me a compiled executable :)

Lichbait the VS.NET'less wonder