Log in

View Full Version : Focus Macro


Ailith
10-02-2008, 10:26 PM
Hiya,
Been pvp'ing with my rogue a lot recently. And earlier I was trying to write some macro's for her. I'm still a bit newbish on using focus targetting and stuff, but one I really wanted was a single key to set/clear my focus. I came up with the following macro, which I think is pretty neat:

/focus [target=mouseover,exists][exists]
/stopmacro [target=mouseover,exists][exists]
/clearfocus

What it does, basically, is if you mouseover a unit and use the macro your mouseover target will be set as your focus. If you don't have a mouseover target it will use your current target. And if you have neither a mouseover target nor a normal target, it will clear your focus completely.

It does pretty much what I wanted it to do anyway, just noting it here in case anyone else finds it useful.

Mischief
11-02-2008, 05:28 PM
This is a nice addon if your unit frames don't support focus:

http://www.wowinterface.com/downloads/info6463-FocusFrame.html

Makes a nice addition to the default unit frames or CT_UnitFrames.