• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Automate switching of targets

calaxa

Member
Joined
Jul 21, 2014
RedCents
1,797¢
Wondering if there is a way to automatically switch targets while using KA?

Here is the scenario:

Assisting MT on a mob but on new mob spawn, I want them to switch automatically.

I've been playing with something like this in individual holies:

Rich (BB code):
holyshit50=/if (${Bool[${Spawn[npc radius 100 mob_that_spawns]}]}) /multiline ; /target mob_that_spawns ; /stick 15 loose ; /attack ; /gsay I'm attacking this mob_that_spawns

Problem with this is, they can't be running KA since KA will want to go back to first target. Also, this is probably horribly inefficient since it will retarget while spawn is up.

I've tried having one toon announce a trigger such as like this:

Rich (BB code):
holyshit50=/if (${Bool[${Spawn[npc radius 100 mob_that_spawns]}]}) /bc Hey this mob spawned.  Go kill it.

with corresponding event

Rich (BB code):
[My Event]
trigger=#*#Hey this mob spawned.  Go kill it.#*#
command=/bca //multiline ; /target mob_that_spawns ; /stick 15 loose ; /attack

Same problem.....KA will want to re-engage original target and the toon spotting the spawn will spam repeatedly while spawn condition is true.

Looking for some ideas on how to implement this automatically.
 
Somewhat related issue. Some HA's you fight a mob to a certain percentage and it becomes non-aggressive and you want to switch to something else, or you charm a mob after combat has started yet KA will keep everyone on the original target.

Need some way to tell KA to ignore the current target and move on. Generally when i'm on a step like this in an HA I have the /endmac and drive the tank until the step is complete.
 
Well in attended play you can do /bc Switch Target but I am looking for full automation or for the MT to continue engaging one mob while all others switch.
 
This would be possible if you could get the TargetOfTarget from the Spawn TLO. The other thing you could do in KA or a macro, is use the spawn TLO and monitor the spawns PctHps. if a spawns PctHps is greater than a specific level then target it and go beat on it. you could add checks to keep switching to the spawn with the highest hps till they are all below a certain level then just stay on one till dead. Then move on to the next one.
 
OK I get what you are saying but what if the new spawns occur independant of mob health (say on a timer)
 
I added this to the end of the combat sub routine because I got sick of manually messing with targets while doing missions that have mobs who drop aggro during the fight.

Rich (BB code):
 |-> Modified the ending condition to account for mobs no longer on aggro
/if (${Spawn[${MyTargetID}].Type.NotEqual[Corpse]} || ${Spawn[${MyTargetID}].ID} || ${Melee.Status.NotEqual[FEIGNING]}) {
	/declare mstep int local
	/for mstep 1 to ${XSlotTotal}
	     /if (${Me.XTarget[mstep].ID}==${Spawn[${MyTargetID}].ID}) /goto :Attack
        /next mstep
}

Original line was:
Rich (BB code):
/if (${Spawn[${MyTargetID}].Type.NotEqual[Corpse]} || ${Spawn[${MyTargetID}].ID} || ${Melee.Status.NotEqual[FEIGNING]}) /goto :Attack
 
Question - Automate switching of targets

Users who are viewing this thread

Back
Top
Cart