Elitist Jerks
Register
Blogs
Chat
Forums
New Posts


Go Back   Elitist Jerks > Public Discussion > User Interface and AddOns

Reply
 
LinkBack (2) Thread Tools
Old 03/02/07, 3:05 PM   2 links from elsewhere to this Post. Click to view. #1 (permalink)
kind of a big deal
 
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?
 
User is online.
Reply With Quote
Old 03/02/07, 3:38 PM   #2 (permalink)
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.
 
User is offline.
Reply With Quote
Old 03/02/07, 3:45 PM   #3 (permalink)
The Google Map Team can no longer help you
 
Malan's Avatar
 
Tauren Shaman
 
Skullcrusher
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?
 
User is offline.
Reply With Quote
Old 03/02/07, 3:49 PM   #4 (permalink)
Von Kaiser
 
Orc Shaman
 
Dethecus
Does he have a unitframe that displays the focus frame?
 
User is offline.
Reply With Quote
Old 03/02/07, 4:06 PM   #5 (permalink)
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.
 
User is offline.
Reply With Quote
Old 03/02/07, 4:14 PM   #6 (permalink)
The Google Map Team can no longer help you
 
Malan's Avatar
 
Tauren Shaman
 
Skullcrusher
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.
 
User is offline.
Reply With Quote
Old 03/02/07, 4:24 PM   #7 (permalink)
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.
 
User is offline.
Reply With Quote
Old 03/02/07, 4:27 PM   #8 (permalink)
And It's Delicious
 
Kalman's Avatar
 
Orc Shaman
 
Mal'Ganis
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

http://mmorchive.net

The WoW forums, explained:
Originally Posted by Vontre
Oh, nah, I just type things for the sake of typing things. ^_^
 
User is offline.
Reply With Quote
Old 03/02/07, 5:08 PM   #9 (permalink)
kind of a big deal
 
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.
 
User is online.
Reply With Quote
Old 03/02/07, 5:12 PM   #10 (permalink)
And It's Delicious
 
Kalman's Avatar
 
Orc Shaman
 
Mal'Ganis
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.

http://mmorchive.net

The WoW forums, explained:
Originally Posted by Vontre
Oh, nah, I just type things for the sake of typing things. ^_^
 
User is offline.
Reply With Quote
Old 03/02/07, 5:24 PM   #11 (permalink)
The Howard Roark of Shipwrights
 
Avair's Avatar
 
Human Rogue
 
Bloodhoof
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)
 
User is offline.
Reply With Quote
Old 03/02/07, 6:49 PM   #12 (permalink)
kind of a big deal
 
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
 
User is online.
Reply With Quote
Old 03/02/07, 6:54 PM   #13 (permalink)
World of Badgecraft Subscriber
 
Playered's Avatar
 
Night Elf Druid
 
Ravencrest (EU)
nvm - curses wheres the delete

Last edited by Playered : 03/02/07 at 6:56 PM. Reason: mistake :|
 
User is offline.
Reply With Quote
Old 03/02/07, 7:19 PM   #14 (permalink)
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 (47 feral/14 resto)
 
User is offline.
Reply With Quote
Old 03/02/07, 9:50 PM   #15 (permalink)
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?
 
User is offline.
Reply With Quote
Old 03/03/07, 3:38 AM   #16 (permalink)
Piston Honda
 
cheebamonkey's Avatar
 
Human Priest
 
Hyjal
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.
 
User is offline.
Reply With Quote
Old 03/03/07, 3:02 PM   #17 (permalink)
And It's Delicious
 
Kalman's Avatar
 
Orc Shaman
 
Mal'Ganis
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.

http://mmorchive.net

The WoW forums, explained:
Originally Posted by Vontre
Oh, nah, I just type things for the sake of typing things. ^_^
 
User is offline.
Reply With Quote
Old 03/03/07, 4:49 PM   #18 (permalink)
Just killing rare spawns-- Waiting for WotLK
 
Bekah's Avatar
 
Blood Elf Priest
 
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.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.
-Douglas Adams
 
User is online.
Reply With Quote
Old 03/03/07, 6:14 PM   #19 (permalink)
kind of a big deal
 
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.
 
User is online.
Reply With Quote
Old 03/03/07, 6:27 PM   #20 (permalink)
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.
 
User is offline.
Reply With Quote
Old 03/03/07, 8:06 PM   #21 (permalink)
Just killing rare spawns-- Waiting for WotLK
 
Bekah's Avatar
 
Blood Elf Priest
 
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.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.
-Douglas Adams
 
User is online.
Reply With Quote
Old 03/03/07, 9:34 PM   #22 (permalink)
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.
 
User is offline.
Reply With Quote
Old 03/03/07, 10:39 PM   #23 (permalink)
Just killing rare spawns-- Waiting for WotLK
 
Bekah's Avatar
 
Blood Elf Priest
 
Mal'Ganis
[target=focus,dead] = I think I love you.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.
-Douglas Adams
 
User is online.
Reply With Quote
Old 03/05/07, 1:07 PM   #24 (permalink)
Great Tiger
 
alienangel's Avatar
 
Night Elf 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.
 
User is offline.
Reply With Quote
Old 03/05/07, 1:11 PM   #25 (permalink)
And It's Delicious