Page 1 of 4
Avoid Named
Posted: Tue Mar 07, 2006 7:47 am
by collateraldmg
I am looking for a macro that does not target (whatevermob) in a list I have made. Not worried about avoiding it, just don't want to target it.
Posted: Tue Mar 07, 2006 8:01 am
by DeeGee
Code: Select all
Sub Main
:loop
/echo Scanning (whatevermob) list, standby....
/delay 1s
/echo -not targeting anything-
/goto :loop
/return
This macro will not target any mobs on your list.
Can you be more specific? Are you wanting to tweak a macro you already have?
Posted: Tue Mar 07, 2006 9:22 am
by armysoldier
DeeGee that was pretty funny
lol
army
Posted: Tue Mar 07, 2006 6:24 pm
by collateraldmg
DeeGee wrote:Code: Select all
Sub Main
:loop
/echo Scanning (whatevermob) list, standby....
/delay 1s
/echo -not targeting anything-
/goto :loop
/return
This macro will not target any mobs on your list.
Can you be more specific? Are you wanting to tweak a macro you already have?
guess i phrased it wrong, sorry. basically I currently have an autotarget macro I use for kiting with my bard and I would like to incorperate a feature that will keep me from targeting named mobs I don't want to target that have already agrod me from autocircling.
Posted: Tue Mar 07, 2006 6:29 pm
by dont_know_at_all
targeting is hard to do and specific to the toon and zone. you need to write your own routine. advchant has an avoid list you can you as an example.
Posted: Tue Mar 07, 2006 6:40 pm
by collateraldmg
dont_know_at_all wrote:targeting is hard to do and specific to the toon and zone. you need to write your own routine. advchant has an avoid list you can you as an example.
\
Thanks, I will look at that, I have little to know experience in the macro writing, what is the proper way to add/insert extra code?
Posted: Tue Mar 07, 2006 7:46 pm
by collateraldmg
not really what I was looking for, I don't care if the mob agros me I just dont want autotarget to target the named mobs that agro my bard while kiting.
Posted: Tue Mar 07, 2006 8:17 pm
by dont_know_at_all
it's exactly what you are looking for
Posted: Tue Mar 07, 2006 8:27 pm
by collateraldmg
dont_know_at_all wrote:it's exactly what you are looking for
you were right, i tried to include it in my autotarget macro, it sorta works but is very glitchy... perhaps you could clean it up for me? i really am clueless in this type of work
Posted: Wed Mar 08, 2006 7:00 am
by gimp
collateraldmg, i think you'll have to work your code out on your own. dkaa pointed you in the right direction. unless of course someone are sitting on some working code and wants to share.
i'm aware your request been posted in the requests forum but from experience, people dont usually write you custom macros upon requests. usually someone has a rather specific question for a programming problem and people post code snippets to solve that particular problem. its up to the macro writer to make it all work in the end.
on the other hand theres some people around here that i am sure are willing to write you custom macros for some paypal donations
Posted: Wed Mar 08, 2006 3:54 pm
by bushdaka
Without seeing the code that he's using, I would still have to assume he's doing some sort of Spawn search, maybe NearestSpawn or just plain Spawn[radius X] or something. In any event, what you want to use is ALERTS. It's your built in filter system for searching the spawn table. For example:
Code: Select all
/alert clear 3
/alert add 3 id ${Spawn[Merchant Alice].ID}
/alert add 3 id ${Spawn[Merchant Cooper].ID}
/varset newid ${NearestSpawn[radius 100 noalert 3].ID}
That's close anyway... have fun.
Posted: Wed Mar 08, 2006 7:16 pm
by armysoldier
this code is from a macro kiting circles in VXED
is this what you mean?
Code: Select all
/if (${Target.Level}>67) /tar npc next
/if (${Target.Name.Equal[misguided beludu Creque]}) {
/squelch /twist stop
/target npc next
/delay 30
/squelch /twist 2 3 4 5 1 6
}
Army
Posted: Sat Jul 15, 2006 4:24 pm
by collateraldmg
thats it right there
Re: Avoid Named
Posted: Tue Jul 08, 2025 12:16 pm
by xyilla
Re: Avoid Named
Posted: Tue Jul 08, 2025 12:17 pm
by xyilla