Another targetting question

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

User avatar
driftinsupra
Official loudmouth
Official loudmouth
Posts: 212
Joined: Tue Jan 28, 2003 9:25 pm

Another targetting question

Post by driftinsupra » Fri Sep 19, 2003 3:58 pm

ok in a script I am wokring on I am trying to target a mob named Micon but in the same zone there is mob named Miconius. The problem I am having is when I do a /target Micon it always target Miconius instead of Micon. I have been dwelling on this and have tried several ways to fix it but have yet to come up with a solution that works...Anyone have any words of wisdom for me?

slimjim
a ghoul
a ghoul
Posts: 94
Joined: Thu Oct 17, 2002 4:05 pm

Post by slimjim » Fri Sep 19, 2003 4:20 pm

try putting it in quotes? /tar "Micon"?

Can't remember how i got around that, it coulda been that way

Or, you could always get the spawn Id of miconis and then /tar micon notid <spawnid of miconis> and see if that works

User avatar
ap50
a snow griffon
a snow griffon
Posts: 425
Joined: Sun Aug 18, 2002 2:29 pm

Post by ap50 » Fri Sep 19, 2003 6:53 pm

If both "Micon"s are different levels, you could always

/target micon range 58 58 (assuming he was lvl 58)
[color=yellow][size=92][b]Just because you're paranoid, it doesn't mean everyone isn't out to get you![/b][/size][/color]

User avatar
grimjack
Macro Author
Macro Author
Posts: 525
Joined: Thu Nov 07, 2002 6:51 am
Contact:

Post by grimjack » Fri Sep 19, 2003 7:12 pm

Another option is to add it to the alert list. And limit target to noalerts.

Code: Select all

/alert add  1 Miconius
and

Code: Select all

/target noalert 1 npc Micon
Thanks
GrimJack
When they come to me, they're in trouble, or they want some. I bust people out of prison, hunt down vampires, fight alien gods -- All the fun jobs people are too squeamish or too polite to do themselves.

Call me a mercenary. Call me an assassin. Call me a villain. I am all that and more.

My name's John Gaunt, but out on the streets of Cynosure, I am called...
GrimJack

cww256
orc pawn
orc pawn
Posts: 20
Joined: Mon Jun 23, 2003 7:58 pm

Post by cww256 » Fri Sep 19, 2003 8:52 pm

/target id

User avatar
grimjack
Macro Author
Macro Author
Posts: 525
Joined: Thu Nov 07, 2002 6:51 am
Contact:

Post by grimjack » Fri Sep 19, 2003 9:04 pm

cww256 wrote:/target id

I don't think the id would be the same every time it spawns.

Thanks
GrimJack
When they come to me, they're in trouble, or they want some. I bust people out of prison, hunt down vampires, fight alien gods -- All the fun jobs people are too squeamish or too polite to do themselves.

Call me a mercenary. Call me an assassin. Call me a villain. I am all that and more.

My name's John Gaunt, but out on the streets of Cynosure, I am called...
GrimJack