Slight problem with macro and assist

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

blizzardbob
decaying skeleton
decaying skeleton
Posts: 1
Joined: Fri Jan 30, 2004 7:09 am

Slight problem with macro and assist

Post by blizzardbob » Fri Jan 30, 2004 7:21 am

So I started working on my first bot macro for myself and all is working quite nicely, except one thing bugs me. Targeting for bot was to work purely by assisting its master which is fine, mostly. Problem is, if master toon has himself targeted and bot assists, bot cannot get target for master. Ok this is not a major problem i can work around it, but makes the code unelegant.

Just wondering why when you have yourself targeted and bot assists it cannot get target (seems to get an old target or maybe random target instead), but if master have any other pc / npc targeted bot can get target. Or is there is an a simple way around this?

TIA

btw code for assist is simply -

Sub AssistME
/assist @mastersname
/varset FlowFlag 0
/delay 1s
/tell @mastersname %t is target.
/return

Gumby
a ghoul
a ghoul
Posts: 99
Joined: Sat Jan 24, 2004 5:27 pm

Post by Gumby » Fri Jan 30, 2004 7:46 am

I'm not certain what you're trying to accomplish; /assist is an in game command, not an MQ one.

Looking at it from an assisting Toon's perspective, 1 of a 3ish results I think for /assist @tankname

1) Master has himself targetted, or no target; /assist should not change targets; the toon will stay on whatever target was already selected.

2) Master has anything else targetted, another PC, an NPC, I think even a corpse, /assist @tankname will return that target.

3) Master is OOR, /assist will do nothing. I don't know what the range is either but someone might.

As stated, this is an EQ function, nothing you can do about it in MQ except to define your bot's actions a different way. If there should be a time that the bot *should* be on the Master for target... such as when it's time to follow / buff / whatever (or itself for that matter as the target) make the decision on the bot rather than the master and simply /target pc @mastername or however you want to do it. If it helps, think about how you play your toon without MQ, and then try to define the bot's behavior to match. Nobody /assists except when it's time to engage, downtime interactions all happen through /target and/or F# and/or mouse clicking.

G