View Full Version : [WoW] Swap Focus <--> Target?
Fomeny
02-22-2010, 11:56 AM
Hi, I'm not exactly sure, whether this is the correct place to ask. But is there a possibility to swap out Focus and Target in function?
Such as: I left click on an enemy, and it is set as focus
Directing my spells towards the focus shouldn't be that much of a problem, if everything else fails, I can simply macro them.
Background: I started playing my warlock and Resto Druid simultanously in BGs, now I'd like to be able to swap targets fast with my warlock, but still cc something else with my druid. The latency-delay makes it near impossible to propperly cc something. (note: When I for example spell lock an enemy I do not target currently, I swap targets for only about 0.1-0.3 sec)
Further, it probably is would be really confusing in arena, when I permanently target the healer, but actually attack the DD ^^
alcattle
02-23-2010, 03:44 AM
You got the right section. I think you could do what you need with Jamba. It involves marking targets then casting on different marks. I have not seen what changes are in Jamba 0.5 would affect this.
Bettysue
02-23-2010, 11:06 AM
/target focus
/targetlasttarget
/focus
/targetlasttarget
That should swap Focus and Target
F=Focus T=Target L=Last target
F T L
1 2 x --initial x is nothing
1 1 2 --first step to put target in last target position and focus target in the target and focus position
1 2 1 --focus and target are now back to original, with focus in the last target position
2 2 1 --original target is now focus with original focus still in last target spot
2 1 2 --target and focus have now been swapped
The above should happen instantly. It has its quirks but it works, just don't spam it, and make sure you start with a focus.
I hope that helps.
Ghallo
02-23-2010, 07:52 PM
/stopmacro [@focus,noexists]
That should be the top line, it will stop some of the bad things :)
Bettysue
02-24-2010, 12:39 AM
thanks ghallo couldn't for the life of me remember what I had there while I was at work.
Fomeny
02-24-2010, 06:51 AM
Well, swapping target and focus per macro wasn't much of a problem so far, thank you for the macro though :D
But my actual question is, whether it is possible to normally left-click on anything (Frames, characters, npcs, mobs, players) and get them into focus INSTEAD of target without doing anything, but left-clicking something. Sorry if I didn't explain it well, english isn't my native language :eek:
I probably could edit some unitframes, raidframes, nameplate-addons for this. But it would be nice if there could be a general solution :) (further I'm not sure, whether this is possible when I click on an enemy model, I'd like to know that aswell)
Something along the lines:
Left Click = Focus
Right Click = Target
on ALL frames would be perfect :)
Maxion
02-24-2010, 07:16 AM
Unless you can bind a macro to your left mouse button, I don't think that can be done.
If you could you'd just make it do a macro like:
/focus [@mouseover,exists]
Fomeny
02-24-2010, 09:08 AM
Now, thats an excellent idea! Didn't think about it... In fact, I've got a mouse with which this is probably possible... simply have to be able to switch back to normal mode... Need to think about this, thank you
Bettysue
02-24-2010, 01:32 PM
Clique is an addon that allows binding of clicks to most unitframes, and it had conditional formats, with the ability to bind macros to clicks. This may work for what you need.
Ghallo
02-24-2010, 09:05 PM
Do you use the default unit frames or an Addon?
If you use an addon for Unit Frames, you could actually crack open the LUA and change the behavior. An old Addon that is still out there is called "Discord Unit Frames" - and it actually has an option in the menu to change the behavior on-click.
Just options...
Fomeny
02-25-2010, 04:26 AM
Thank you for your help :)
I do use an addon for about any unitframe. I think the main issue will be to actually catch the click on a character model directly... I'll try clique, and if this doesn't work I'll have a look at the lua ^^
vBulletin® v4.2.2, Copyright ©2000-2025, Jelsoft Enterprises Ltd.