Have a macro idea but not sure where to start? Ask here.
Moderator: MacroQuest Developers
-
collateraldmg
- orc pawn

- Posts: 20
- Joined: Mon Aug 01, 2005 7:31 pm
Post
by collateraldmg » Tue Mar 07, 2006 7:47 am
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.
-
DeeGee
- a ghoul

- Posts: 116
- Joined: Wed Sep 22, 2004 4:51 pm
Post
by DeeGee » Tue Mar 07, 2006 8:01 am
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?
-
armysoldier
- a hill giant

- Posts: 189
- Joined: Mon Jun 27, 2005 2:13 am
- Location: Florida (Stationed at FT Carson CO)
Post
by armysoldier » Tue Mar 07, 2006 9:22 am
DeeGee that was pretty funny
lol
army
-
collateraldmg
- orc pawn

- Posts: 20
- Joined: Mon Aug 01, 2005 7:31 pm
Post
by collateraldmg » Tue Mar 07, 2006 6:24 pm
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.
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Tue Mar 07, 2006 6:29 pm
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.
-
collateraldmg
- orc pawn

- Posts: 20
- Joined: Mon Aug 01, 2005 7:31 pm
Post
by collateraldmg » Tue Mar 07, 2006 6:40 pm
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?
-
collateraldmg
- orc pawn

- Posts: 20
- Joined: Mon Aug 01, 2005 7:31 pm
Post
by collateraldmg » Tue Mar 07, 2006 7:46 pm
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.
-
collateraldmg
- orc pawn

- Posts: 20
- Joined: Mon Aug 01, 2005 7:31 pm
Post
by collateraldmg » Tue Mar 07, 2006 8:27 pm
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
-
gimp
- a grimling bloodguard

- Posts: 584
- Joined: Fri Oct 29, 2004 9:28 am
- Location: internet
Post
by gimp » Wed Mar 08, 2006 7:00 am
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
-
bushdaka
- a hill giant

- Posts: 185
- Joined: Wed Jun 16, 2004 11:01 am
Post
by bushdaka » Wed Mar 08, 2006 3:54 pm
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.
-
armysoldier
- a hill giant

- Posts: 189
- Joined: Mon Jun 27, 2005 2:13 am
- Location: Florida (Stationed at FT Carson CO)
Post
by armysoldier » Wed Mar 08, 2006 7:16 pm
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