Forum Settings
       
Reply To Thread

Macro questionFollow

#1 Mar 21 2008 at 9:09 AM Rating: Good
20 posts
From another posting, I found this:
Quote:
Here's the one I use:

#showtooltip Shackle Undead
/stopcasting [nobutton:2]
/clearfocus [button:2]
/stopmacro [button:2]
/focus [target=focus, noexists]; [target=focus, dead]
/cast [target=focus,exists,nodead] Shackle Undead

What this does:

Target the mob you want to shackle. Click the button. You will make that target your focus & cast shackle all in that one click.

Now you can target other mobs if you like to start doing your DPS, etc. When you want to re-shackle your focus target, just click the button again - no retargeting is necessary.

If you find you ever need to switch focus, Right-Click the button to clear the focus target if the original focus is still alive. If it's dead, no worries - just click the button as normal & it will make that new target your current focus as well as cast your shackle.

FYI to those with Warlock alts - this same macro also works perfectly with Banish & Fear. I imagine the same with Polymorph for mages.


I would like to make more use of macros, and part of being able to do this is understanding what each instruction accomplishes. Most of this I can figure out, but specifically, what do the [nobutton:2] and [button:2] references accomplish? - Why are they there and what do they do?

I can see that the lines
/focus [target=focus, noexists]; [target=focus, dead]
/cast [target=focus,exists,nodead] Shackle Undead
work as an if/then setting focus on the target if it exists (not dead) and casting shackle undead upon it. But the button:2 part stumps me however.
#2 Mar 21 2008 at 9:31 AM Rating: Excellent
Quote:
Right-Click the button to clear the focus target if the original focus is still alive.


button:2 = Right Click
#3 Mar 21 2008 at 11:03 AM Rating: Good
20 posts
I never would have thought of right click.

Thanks for the answer.
#4 Mar 21 2008 at 11:41 AM Rating: Good
The important thing to note is that the right click will clear your focus.

Let's say the group starts killing your shackled mob and you need to shackle another, but your original mob isn't dead yet. To clear your focus you need to right click your taskbar shackle macro icon. Then with the new mob selected, left click the icon to make him your focus and shackle (I also bind it to a key for quick access).

You can use the right mouse button any time your focus is set on the wrong mob. I highly recommend that you also display a separate unit frame for your mob that has focus. It should include any debuffs on the focused mob. That way you can instantly see when the group starts loading it up with dots, and you will know you are done with it. I use FocusFrame for this, but any other addon that shows your focus would also work.

Edited, Mar 21st 2008 3:43pm by dadanox
#5 Mar 22 2008 at 7:20 AM Rating: Decent
****
6,318 posts
Gonna kinda hijack this, in efforts to save on new threads...

Two questions re: macros.

1) Is there an "onClick" command for macros? Right now, my dispel will try to cast on the mob I have targeted, so if I need to cast on myself or another player, I need to hit esc to remove the target then cast. (Adding a modifier will not work, as you will see in a second.)

2) Is there anything major I am loosing by not using macros like those suggested on shadowpriest.com? At level 46 I am not dealing with juggling shackled mobs and am usually soloing so I do not have to worry about group issues.

I am running with a 5 button mouse, and most of my commands are set to there. The way it looks right now:
No Modifier:
  • Button3: Shoot
  • MW Up: Fear
  • MW Down: Flay
  • Button 4: MB
  • Button 5: SW:P

Shift Modifier:
  • Button3: N/A
  • MW Up: VT (once obtained)
  • MW Down: VE
  • Button 4: PW:F
  • Button 5: Inner Fire


I think I have things like Mana Burn and mind control set to the control since I do not normally use them. This is working well for me, but I am wondering if I could make my life easier with redoing thins via macros.


Edit: I just downloaded and am in the process of tweaking the CAST UI, and I like how the bar placement is set up. I am going to work the macro's through there.

Edited, Mar 22nd 2008 1:57pm by PsiChi
#6 Mar 22 2008 at 10:04 AM Rating: Excellent
**
978 posts
PsiChi the Fussy wrote:


1) Is there an "onClick" command for macros? Right now, my dispel will try to cast on the mob I have targeted, so if I need to cast on myself or another player, I need to hit esc to remove the target then cast. (Adding a modifier will not work, as you will see in a second.)


I don't think so, but you can get an add on that will all this functionality. I use Clique http://www.wowinterface.com/downloads/info5108-Clique.html

On my priest, I have Dispel bound to Shift + Left Click so I can use it on any of the unit frames in my UI easily.

On my shaman I use it to bind a bunch of different heals to modifier + mouse click combos to make my healing life easier.

Not sure if that's exactly what you were looking for, but it was worth a shot.
#7 Mar 22 2008 at 10:59 AM Rating: Decent
****
6,318 posts
Khalane wrote:

On my priest, I have Dispel bound to Shift + Left Click so I can use it on any of the unit frames in my UI easily.
Thanks, I will have to look in to doing this.
#8 Mar 28 2008 at 11:47 AM Rating: Good
***
1,030 posts
PsiChi the Fussy wrote:
Khalane wrote:

On my priest, I have Dispel bound to Shift + Left Click so I can use it on any of the unit frames in my UI easily.
Thanks, I will have to look in to doing this.


For dispel magic and cure disease, I use a simple mouseover macro.

/cast [target=mouseover, help] Dispel Magic; [target=help] Dispel Magic; [target=player] Dispel Magic;

This will cast Dispel Magic on the last unit (person or pet) that I moused over that's friendly. If that's not met (it was an enemy or I've not moused over anything recently), it casts it on my friendly target. Otherwise, it's cast on myself. And I bind it to ~. Shift-~ gets the same macro, but for Cure Disease.

Another set of macros that I tend to use is very similar to the one for Shackle given in the OP (I use one very similar to it for Shackle, also. :) When healing, I've got the tank set as my focus and I've got an entire bar of buttons that have macros that use my focus as the healing target.

My Greater Heal 7 macro looks like:

/stopcasting
/cast [target=focus] Greater Heal (Rank 7)

The nice thing about this is I can also use the SAME button for frontloading a heal and then not letting it land if it's not needed. Saves hitting ESC or jumping.

I've got similar macros setup for GH5, GH3, Flash Renew (highest rank 'cause I use it as an OH CARP button), Circle of Healing and Prayer of Mending. All set to target my focus (which is almost invariably the tank).

Makes healing a MUCH easier propasition.
Reply To Thread

Colors Smileys Quote OriginalQuote Checked Help

 

Recent Visitors: 70 All times are in CST
Anonymous Guests (70)