Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » User Interface and AddOns

Reply
 
LinkBack Thread Tools
Old 03/02/07, 3:05 PM   #1
Elendril
Mr. Sandman
 
Elendril's Avatar
 
Night Elf Hunter
 
Ner'zhul
Focus Macro

I'm fairly inexperienced with the current macro script - is it possible to make a macro to make your current target your focus target, unless you already have an assigned focus target, in which case it would target your assigned focus target?

Offline
Reply With Quote
Old 03/02/07, 3:38 PM   #2
Squrf
Von Kaiser
 
Orc Shaman
 
Dethecus
What's the intention behind this? Your initial part is just /focus, but the latter would be covered by simply creating cast macros that include [target=focus] modifiers. If you're looking to keep hitting a specific target with a certain attack, you could create a macro that's of the type:

/cast [target=focus;modifier:ctrl] Arcane Shot; Arcane Shot

Since the intention of the focus system is to have two separate entities targeted at once.

Offline
Reply With Quote
Old 03/02/07, 3:45 PM   #3
Malan
Mike Tyson
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
On the subject of Focus, I've been trying to get my GM (priest) to use focus macros for things like shackle. He complains though that when he sets the focus with /focus name, as soon as he targets something else or clicks off that target the focus just vanishes, it won't stay set. He uses 2 mods - RDX6 and some other mod for displaying his dmg/heals on his bars (dr damage or theorycraft) Anyone have any ideas to resolve that?

United States Offline
Reply With Quote
Old 03/02/07, 3:49 PM   #4
Squrf
Von Kaiser
 
Orc Shaman
 
Dethecus
Does he have a unitframe that displays the focus frame?

Offline
Reply With Quote
Old 03/02/07, 4:06 PM   #5
Uziel
Piston Honda
 
Night Elf Warrior
 
Burning Blade
I wish there was a way to have the default UI display the focus frame. Is there a mod that does just this?

Last edited by Uziel : 03/02/07 at 4:12 PM.

Offline
Reply With Quote
Old 03/02/07, 4:14 PM   #6
Malan
Mike Tyson
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
Originally Posted by Squrf View Post
Does he have a unitframe that displays the focus frame?
He uses the default WoW UI for unit frames and action bars, he shouldn't have any mods interfering with it which is why I've been confused with how to help him.

United States Offline
Reply With Quote
Old 03/02/07, 4:24 PM   #7
Squrf
Von Kaiser
 
Orc Shaman
 
Dethecus
The default UI doesn't have a frame for the focus target. He's not losing it - he just doesn't have it displayed. There is a mod out there that just adds a focus unitframe and nothing else, I don't know what it's called offhand (at work, websense filtered), probably something like FocusFrame or SimpleFocus iirc.

Offline
Reply With Quote
Old 03/02/07, 4:27 PM   #8
Kalman
Super Macho Man
 
Kalman's Avatar
 
<>
Orc Shaman
 
No WoW Account
Originally Posted by Elendril View Post
I'm fairly inexperienced with the current macro script - is it possible to make a macro to make your current target your focus target, unless you already have an assigned focus target, in which case it would target your assigned focus target?
Try:

/focus [target=focus, noexists]
/stopmacro [target=focus, exists]
/target focus

Melador> Incidentally, these last few pages are why people hate lawyers.
Viator> I really don't want to go all Kalman here.
Bury> Just imagine what the world would be like if you used your powers for good.

Clearly law school has done wonders for me.

United States Offline
Reply With Quote
Old 03/02/07, 5:08 PM   #9
Elendril
Mr. Sandman
 
Elendril's Avatar
 
Night Elf Hunter
 
Ner'zhul
Basically, the point of this is to select a target in PVP to watch in my focus frame so I can see when he's casting, and then be able to quickly swap back to him for interrupts.

Nurfed unitframes has a focus frame - that's what I use.

I'll try that script when i get a chance to log on, Kalman.

Offline
Reply With Quote
Old 03/02/07, 5:12 PM   #10
Kalman
Super Macho Man
 
Kalman's Avatar
 
<>
Orc Shaman
 
No WoW Account
Originally Posted by Elendril View Post
Basically, the point of this is to select a target in PVP to watch in my focus frame so I can see when he's casting, and then be able to quickly swap back to him for interrupts.

Nurfed unitframes has a focus frame - that's what I use.

I'll try that script when i get a chance to log on, Kalman.
I do not under any circumstances promise it will work, as I didn't test it... but it *should* work.

Melador> Incidentally, these last few pages are why people hate lawyers.
Viator> I really don't want to go all Kalman here.
Bury> Just imagine what the world would be like if you used your powers for good.

Clearly law school has done wonders for me.

United States Offline
Reply With Quote
Old 03/02/07, 5:24 PM   #11
Avair
The Howard Roark of Shipwrights
 
Avair's Avatar
 
Avair
Human Rogue
 
No WoW Account
Basically, the point of this is to select a target in PVP to watch in my focus frame so I can see when he's casting, and then be able to quickly swap back to him for interrupts.
I don't think you even need to 'switch' back to your focus target for an interrupt. For example,

/cast [target=focus] Earth Shock

This *should* earth shock whatever target I have focused, without the need to change my 'main' target. (Disclaimer: I haven't had a chance to try all this focus stuff yet, but I'm working off published macros here http://www.wowwiki.com/Useful_macros....2FFocus_Macro)

United States Offline
Reply With Quote
Old 03/02/07, 6:49 PM   #12
Elendril
Mr. Sandman
 
Elendril's Avatar
 
Night Elf Hunter
 
Ner'zhul
Well, tying it to a particular spell would limit it to that functionality, or take up extra binds for each different spell. I'd rather just press one button to retarget and then be able to cast whatever I want. :-P

Offline
Reply With Quote
Old 03/02/07, 6:54 PM   #13
Playered
Soda Popinski
 
Playered's Avatar
 
Tauren Druid
 
Twisting Nether (EU)
nvm - curses wheres the delete

Last edited by Playered : 03/02/07 at 6:56 PM. Reason: mistake :|

Great Britain Offline
Reply With Quote
Old 03/02/07, 7:19 PM   #14
Tuftears
Piston Honda
 
Tuftears's Avatar
 
Night Elf Druid
 
Stormrage
May I plug my TWFocus mod? If he's using a plain vanila UI and doesn't want to download one of the big unit frame replacement mods, this mod simply adds a small window that displays your focus, its target, and its target's target.

Then just set some key bindings to set your focus and target your focus (I use shift-X to set it and x to get it back).

upstart feline miscreant (32 feral/9 resto)

Offline
Reply With Quote
Old 03/02/07, 9:50 PM   #15
Wankel
Glass Joe
 
Troll Shaman
 
Tichondrius
This is very interesting information. As a shaman would it be possible for instance (romulo and juliane) to focus the MT for cure poison but also purge romulo? or does it have to be the same spell/ability being cast?

/cast [target=focus] Cure Poison; Purge

Will it do either one of them if for instance the MT doesnt need to be cured but romulo needs to be purged?

Offline
Reply With Quote
Old 03/03/07, 3:38 AM   #16
cheebamonkey
Piston Honda
 
cheebamonkey's Avatar
 
Blood Elf Paladin
 
Bonechewer
You can actually set up a hotkey strait through the wow keybindings section for assigning and targeting your focus. It's the last two options in the targeting section.

Offline
Reply With Quote
Old 03/03/07, 3:02 PM   #17
Kalman
Super Macho Man
 
Kalman's Avatar
 
<>
Orc Shaman
 
No WoW Account
Originally Posted by Wankel View Post
This is very interesting information. As a shaman would it be possible for instance (romulo and juliane) to focus the MT for cure poison but also purge romulo? or does it have to be the same spell/ability being cast?

/cast [target=focus] Cure Poison; Purge

Will it do either one of them if for instance the MT doesnt need to be cured but romulo needs to be purged?
If the MT doesn't need to be cured, I believe the macro will fail at that point and never even attempt the purge.

However, you could do something with modifier keys (I forget the syntax), where a base press cures your focus while a modified press (say, alt-keybind) purges your target, pretty easily.

Melador> Incidentally, these last few pages are why people hate lawyers.
Viator> I really don't want to go all Kalman here.
Bury> Just imagine what the world would be like if you used your powers for good.

Clearly law school has done wonders for me.

United States Offline
Reply With Quote
Old 03/03/07, 4:49 PM   #18
Bekah
Soda Popinski
 
Bekah's Avatar
 
Goblin Hunter
 
Mal'Ganis
Lets take this a step further. I would like a macro that follows the following logic.

If there is no focus, makes my current target my focus- or if focus exists, targets focus.
Casts sheep/shackle.
Calls the script to assign a raid charm. (For me, it's always /script SetRaidTarget("Target",5); since I've been the moon for shackles since charms were introduced =P)
Then targets last target.

(obviously you'd need different macros for sheep and shackle, but I have mage/priest and I use virtually identical macros for both). I *think* I can make that work by:

/focus [target=focus, noexists]
/target focus
/cast Polymorph
/script SetRaidTarget("Target",5);
/targetlasttarget

Can anyone see a logic failure?

Edit: finally got in game, and it appears to work. I realized I'd like one more conditional though and I have no idea how to put it in.

If there was no last target, target focus.

Last edited by Bekah : 03/03/07 at 4:58 PM.

Those of you who volunteered to be injected with praying mantis DNA, I've got some good news and some bad news.
Bad news is we're postponing those tests indefinitely. Good news is we've got a much better test for you: fighting an army of mantis men.
Pick up a rifle and follow the yellow line. You'll know when the test starts.

BSG Quick Reference

United States Offline
Reply With Quote
Old 03/03/07, 6:14 PM   #19
Elendril
Mr. Sandman
 
Elendril's Avatar
 
Night Elf Hunter
 
Ner'zhul
Originally Posted by Kalman View Post
Try:

/focus [target=focus, noexists]
/stopmacro [target=focus, exists]
/target focus
Got a chance to try this and it wasn't working - it would make the current target my focus but wouldn't target them after that. I changed it to /target focus at the beginning and it seems to work.

Offline
Reply With Quote
Old 03/03/07, 6:27 PM   #20
Rythonn
Glass Joe
 
Undead Priest
 
Baelgun
Originally Posted by Bekah View Post
Lets take this a step further. I would like a macro that follows the following logic.

If there is no focus, makes my current target my focus- or if focus exists, targets focus.
Casts sheep/shackle.
Calls the script to assign a raid charm. (For me, it's always /script SetRaidTarget("Target",5); since I've been the moon for shackles since charms were introduced =P)
Then targets last target.

(obviously you'd need different macros for sheep and shackle, but I have mage/priest and I use virtually identical macros for both). I *think* I can make that work by:

/focus [target=focus, noexists]
/target focus
/cast Polymorph
/script SetRaidTarget("Target",5);
/targetlasttarget

Can anyone see a logic failure?

Edit: finally got in game, and it appears to work. I realized I'd like one more conditional though and I have no idea how to put it in.

If there was no last target, target focus.
I use E for setting my focus then all you need after that is /cast [target=focus] Whateverspellyouwant You could also add in /script SetRaidTarget("focus",5); and you wouldn't need /targetlasttarget.

I think it works better to have a seperate key bind for focus. Otherwise you have to add setting focus to every macro.

Offline
Reply With Quote
Old 03/03/07, 8:06 PM   #21
Bekah
Soda Popinski
 
Bekah's Avatar
 
Goblin Hunter
 
Mal'Ganis
Originally Posted by Elendril View Post
Got a chance to try this and it wasn't working - it would make the current target my focus but wouldn't target them after that. I changed it to /target focus at the beginning and it seems to work.
Cut out the stop macro and it works. =)

As for why adding in create focus to something like a sheep macro? It's for speed. I have focus, target focus, and clear focus bound to keys that I'm comfortable with, but when I'm being jumped on in the middle of STV by 2 ?? gankers, I don't want to have to take even the brief instant it takes to target them and hit 2 buttons to focus and sheep when I could hit one key, and have it do it all. =)

Edit: Target last target assumes that I'm dealing with 2 targets at once- one of which I'm dpsing or healing the other of which I'm sheeping/shackling and eliminates the downtime of finding the second target that's *not* your focus.

Last edited by Bekah : 03/03/07 at 8:11 PM.

Those of you who volunteered to be injected with praying mantis DNA, I've got some good news and some bad news.
Bad news is we're postponing those tests indefinitely. Good news is we've got a much better test for you: fighting an army of mantis men.
Pick up a rifle and follow the yellow line. You'll know when the test starts.

BSG Quick Reference

United States Offline
Reply With Quote
Old 03/03/07, 9:34 PM   #22
chuckg
Von Kaiser
 
chuckg's Avatar
 
Orc Warlock
 
Executus
I use this as a clickable focus button:

/focus [button:1]; [target=focus,noexists]; [target=focus,dead] 
/clearfocus [button:2]
If you left click it, it sets the focus. If the focus is dead and you click it, it unfocuses or sets a new one. If you right click, it always unsets focus. I use this in conjunction with some fear focus macros which could be modified for polymorph, shackle, or whatever else:

#showtooltip Fear
/focus [target=focus,noexists]; [target=focus,dead] 
/clearfocus [target=focus,help] 
/cast [target=focus,exists,harm]Fear; Fear
/script SetRaidTarget("focus", 5);
This sets the focus of fear (if none is current) to my current target then fears it. If I recast fear, regardless of what is targetted, it casts it on my focus (yay no changing targets). If the focus is dead and I fear, it sets a new focus. The last bit at the end just adds an icon for raids (Mag'theridon).

However, you could do something with modifier keys (I forget the syntax), where a base press cures your focus while a modified press (say, alt-keybind) purges your target, pretty easily.
This should work:
/cast [target=focus, nomodifier] FirstSpell; [target=focus,modifer:alt] DifferentSpell

Last edited by chuckg : 03/03/07 at 9:57 PM.

Offline
Reply With Quote
Old 03/03/07, 10:39 PM   #23
Bekah
Soda Popinski
 
Bekah's Avatar
 
Goblin Hunter
 
Mal'Ganis
[target=focus,dead] = I think I love you.

Those of you who volunteered to be injected with praying mantis DNA, I've got some good news and some bad news.
Bad news is we're postponing those tests indefinitely. Good news is we've got a much better test for you: fighting an army of mantis men.
Pick up a rifle and follow the yellow line. You'll know when the test starts.

BSG Quick Reference

United States Offline
Reply With Quote
Old 03/05/07, 1:07 PM   #24
alienangel
Bald Bull
 
alienangel's Avatar
 
Draenei Hunter
 
Eredar
Anyone know how to set your focus to your target's target?

Or just cast a spell on your target's target?

And I know it's not what you were asking Elendril, but just in case you haven't tried it, mouseover targetting for Silencing Shot is amazing for times you see someone casting and want to interrupt Doesn't even interrupt autoshots on current target.

Canada Offline
Reply With Quote
Old 03/05/07, 1:11 PM   #25
Kalman
Super Macho Man
 
Kalman's Avatar
 
<>
Orc Shaman
 
No WoW Account
Originally Posted by alienangel View Post
Anyone know how to set your focus to your target's target?

Or just cast a spell on your target's target?

And I know it's not what you were asking Elendril, but just in case you haven't tried it, mouseover targetting for Silencing Shot is amazing for times you see someone casting and want to interrupt Doesn't even interrupt autoshots on current target.
Use "[target=targettarget]".

Melador> Incidentally, these last few pages are why people hate lawyers.
Viator> I really don't want to go all Kalman here.
Bury> Just imagine what the world would be like if you used your powers for good.

Clearly law school has done wonders for me.

United States Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » User Interface and AddOns

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Arcane Focus = +hit%? maxi Class Mechanics 2 04/10/07 10:46 AM
Where to focus on after C'thun? Ssyn Public Discussion 4 09/10/06 12:36 PM