This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Setting Target for Next Cast
Post Reply
Return to board index
Post by
228867
This post was from a user who has deleted their account.
Post by
Wildhorn
No.
Post by
228867
This post was from a user who has deleted their account.
Post by
pelf
The focus cast modifier key in the default UI doesn't satisfy this requirement?
Post by
RedwoodElf
No.
Actually, it looks like I might be able to do this with /script function, I'm just not 100% sure the limitations.
The idea is to use /script setglobal() to set a variable and then have my spells all on macros which call that variable when casting and then clear it. Is that possible or would that be restricted because you'd be using a script call along with casting a spell?
Scripts cannot affect other parts of the macro however. You can't, for example, have a script stop the macro, or pick which spell will be cast by a /cast command, or cast a spell, or change your target or the targets of your spells (which is what you're trying to do, really.) You would have to make multiple macros.
For example:
(on actionbar 1)
#showtooltip
/castsequence <heal spells List>
/stopmacro
/tell <yourname> casting on mousefocus now
/changeactionbar 2
(on actionbar 2)
#showtooltip
/castsequence <heal spells List>
/stopmacro
/tell <yourname> casting on targets now
/changeactionbar 3
(on actionbar 3)
#showtooltip
/castsequence <heal spells List>
/stopmacro
/tell <yourname> casting on focus now
/changeactionbar 1
Put those all on the same slot on actionbars 1 2 and 3...holding down alt will change the way it behaves without casting anything for future casts.
Post by
Wildhorn
@RedwoodElf: He said he do not want to make a macro for every of his spell for his focus target
@pelf: There is one?
Post by
228867
This post was from a user who has deleted their account.
Post by
Tenshigure
Basically I'm wondering if it is possible via macros or maybe an addon to set the target for my next cast.
As an example:
Say I am healing and I have the MT as my target and the OT as my focus. I want to throw a quick heal on the OT but I don't want to switch targets, and I don't want to make a macro for every heal I might want to throw on my focus target (or myself, or my mouseover target). I want to be able to simply hit a button for the target I wish to cast on, causing my next spell to target that person without switching targets. Think of it as a permanent mouseover setup.
From what I've seen this probably isn't possible with macros but maybe it is with an addon. Suggestions?
First, let me get this out of the way: addons will work wonders on this over relying on macros. Clique/Grid setups can easily do this without as much as holding the combination you want to press to activate the spell cast. Sure, it's glorified whack-a-mole, but you won't have to worry about losing your targets if, for example, you're on Interrupt/Dispel duty on the main boss (I normally am).
For example, set Shift+Left Click on Healing Wave, Left Click on Lesser Healing Wave, and Right Click on Cleanse. Set up Clique so it only works on the Grid interface, and then enjoy the whack-a-mole of keeping the bars you're assigned to full (you can even set up so that the invididual tanks you are assigned to up have individual bars that stand out to see their status as well.
Macros, while possible, would require them to be set up for every single spell you have. For example, you'll want to do something like the following (requires you to have either the MT or OT as a focus, and the MT or OT as a target).
#showtooltip
/cast spell
Basically, the rundown is like this:
- If you have a focus, it will cast on that. Otherwise it'll cast on the target.
- Holding down Shift will cast on yourself.
- Holding down Alt will cast on whomever your mouse is hanging on.
- Holding down Ctrl will cast on the target.
- If you don't have a focus or target, it'll cast on yourself.
Again, a bit too complex that something that Grid/Clique or your choice of addons can do much easier, quicker, and more efficiently should you need to change spells.
Post by
Wildhorn
It is complex because you dont know how to write a proper macro (you call twice target=target, wtf)
#showtooltip
Spell
Will cast on mouseover if you you hold alt
Will cast on focus if you hold shift
Will cast on target if you hold ctrl
Will cast on yourself else.
Post by
Tenshigure
It is complex because you dont know how to write a proper macro (you call twice target=target, wtf)
Accidentally copied it in twice, fixed. Oh, and...
#showtooltip
/cast
Spell
Fixed yours too. Guess we all make mistakes sometimes. Jerk.
Post by
RedwoodElf
@RedwoodElf: He said he do not want to make a macro for every of his spell for his focus target
He wouldn't be...he would be making THREE macros for every 3 spells. But thats the only real way to "set the target for my next cast" as he requested, using macros, without having to hit lots of modifiers, which would make each macro so long you could only put one or two spells in it due to all the conditions. While my three macros LOOK longer, you would now only have to deal with two condition blocks per spell instead of 4 or 5. And I set it up as a castsequence so he could, once he set his target, set up a rotation instead of just one spell.
Post by
pelf
@pelf: There is one?
Yep. You can define a modifier that will send any following action to your focus. It's in the default UI -- has been for a while.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.