secondary target acquisition macro

Macro requests from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

Ooka_Chokka
a lesser mummy
a lesser mummy
Posts: 63
Joined: Fri Nov 08, 2002 12:27 am

secondary target acquisition macro

Post by Ooka_Chokka » Mon Nov 11, 2002 6:33 am

i need a macro that finds the target(npc) second farthest away from you

Cheese
a lesser mummy
a lesser mummy
Posts: 39
Joined: Fri Aug 09, 2002 6:42 am

Post by Cheese » Mon Nov 11, 2002 7:13 am

Dont use the macro commands myself but I remember syntax of target being able to accept a minimum and maximum distance the target must be in..

so.. do a /target mob_i_want to get the closest one then get the distance that mob is away from you and to a /target mob_i_want distance_of_first+1 9999999999 (999999999 just being a max distance and the +1 to not target the first mob again)

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Mon Nov 11, 2002 1:26 pm

Salutations,
I don't think that works...

Code: Select all

/target
/target notid $target(id)
and at the end of these two lines of code you should have the second closest target...

Ooka_Chokka
a lesser mummy
a lesser mummy
Posts: 63
Joined: Fri Nov 08, 2002 12:27 am

Post by Ooka_Chokka » Mon Nov 11, 2002 8:30 pm

cool, thanks Li24rd, what im trying to do is make a macro that will run you from point a to point b while staying a certain distance away from any and all npcs, for things like a run through frontier mountains or dreadlands, or other big scary outdoor zones. what im trying to write could also be modified to pull specific mobs, while staying out of the agro range of all the others... should be another couple days before im done tho

___________________________
Ooka Chokka lv 69 God of PoRn
___________________________