Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion » Public Discussion

Reply
 
LinkBack Thread Tools
Old 04/20/08, 4:34 AM   #316
Sinzar
Von Kaiser
 
Sinzar's Avatar
 
Human Death Knight
 
Greymane
You can use {rtX} for shapes, where X = 1-8, so you don't need a table of shapes in the macro.

Here's my version of the Main Assist macro with shapes:

/run local s,n,c=GetRaidTargetIndex("target"),UnitName("target");if UnitInRaid("player") then c="RAID"else c="PARTY"end;if s and n then SendChatMessage("Assist on {rt"..s.."}<< "..n.." >>",c) elseif n then SendChatMessage("Assist on << "..n.." >>",c) end
Works in a 5 man party as well.

Offline
Reply With Quote
Old 04/20/08, 10:37 AM   #317
dyree
Von Kaiser
 
Undead Warlock
 
Eredar
Ahha... the {rtX} was exactly the functionality I was hoping someone could point me towards. Thanks! The raid warning channel does work in 5-mans, but you have to be the party leader to use it, if I recall correctly.

Offline
Reply With Quote
Old 04/21/08, 8:03 AM   #318
The Gopher
Don Flamenco
 
The Gopher's Avatar
 
Dwarf Warrior
 
Black Dragonflight
I'm trying to find out if there's a way of making a bind within a macro, because I'm lazy. This is to say, I want to have one action occur when I press 5 for the macro, and I want the same action to occur on my focus when I press Shift-F. Possible, or will I have to stop being lazy?

<XI> BROWN PEOPLE ARE A BLIGHT ON HUMANITY

Offline
Reply With Quote
Old 04/21/08, 10:06 AM   #319
Hamsda
Piston Honda
 
Hamsda's Avatar
 
Goblin Priest
 
Mannoroth (EU)
Originally Posted by The Gopher View Post
I'm trying to find out if there's a way of making a bind within a macro, because I'm lazy. This is to say, I want to have one action occur when I press 5 for the macro, and I want the same action to occur on my focus when I press Shift-F. Possible, or will I have to stop being lazy?
just put it in the action bar and bind the slot with 5 and shift-f :o

Germany Offline
Reply With Quote
Old 04/21/08, 10:11 AM   #320
Smurrf
Don Flamenco
 
Smurrf's Avatar
 
Human Paladin
 
Lothar
Originally Posted by dyree View Post
Ahha... the {rtX} was exactly the functionality I was hoping someone could point me towards. Thanks! The raid warning channel does work in 5-mans, but you have to be the party leader to use it, if I recall correctly.
Regular, garden variety raid warnings can be done by any player, leader or not, in a 5 man, unless they've changed that just recently. Go check it out.

Edit: And to Hamsda, that won't work for what he wants. He wants the action to go to his main target for a button push of '5', and to his focus target if he pushes Ctrl-F. If he bound the same macro to both 5 and Ctrl-F, all it would do would hit his target if he pushed either. There's nothing to allow him to change where he targets based upon your suggestion.

That said, I don't know how you would keybind like that in a macro-and not run out of space; what you may have to do is write the same macro, and add in something to set and target your focus for the second one, and simply put it onto your action bars twice, then bind as appropriate. I know I have about 7 different banish macros, for instance, for various situations, and have to swap 'em in and out. (Yes, I know I could condense them all with modifiers, but I'm a die-hard mouseclicker, and am perfectly happy with my solution. It works for me.)

Last edited by Smurrf : 04/21/08 at 10:21 AM.

Offline
Reply With Quote
Old 04/21/08, 10:29 AM   #321
Malan
Mike Tyson
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
Are there any conditionals that work with buff types so that you don't overwrite a buff? I can't recall if that sort of thing was removed in 2.0 or not. This came up when I was trying to avoid overwriting an Earth Shield with my water shield.

United States Offline
Reply With Quote
Old 04/21/08, 10:51 AM   #322
Smurrf
Don Flamenco
 
Smurrf's Avatar
 
Human Paladin
 
Lothar
Looking at WoWWiki's list of conditionals, it does not appear that you can do so. I seem to remember coming across a post on the official forums that said that checking for buffs (or debuffs, for that matter) was one of the things specifically not allowed due to potential automation.

Offline
Reply With Quote
Old 04/21/08, 10:53 AM   #323
goofa
Glass Joe
 
Troll Priest
 
Proudmoore (EU)
I need some help with a macro. Sry if the answer has already been posted but this post is so long and I did not read all of it.

I want a macro that:

1. switch my mainhand + offhand to a staff
2. use Earring of Soulful Meditation
3. after 20s when buff runs out switch weapon on next cast

thx for your help

Offline
Reply With Quote
Old 04/21/08, 12:01 PM   #324
 Adoriele
Happy October 19th!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by goofa View Post
I need some help with a macro. Sry if the answer has already been posted but this post is so long and I did not read all of it.

I want a macro that:

1. switch my mainhand + offhand to a staff
2. use Earring of Soulful Meditation
3. after 20s when buff runs out switch weapon on next cast

thx for your help
1 and 2 are possible. 3 is not. Added in a #show line so it'll let you keep an eye on EoSM's cooldown if you need to.

#showtooltip Earring of Soulful Meditation
/equip <Spirit Staff>
/use Earring of Soulful Meditation

United States Offline
Reply With Quote
Old 04/21/08, 12:19 PM   #325
Smurrf
Don Flamenco
 
Smurrf's Avatar
 
Human Paladin
 
Lothar
You can even go beyond that and write a second macro, for when the buff does run out. You'll have to be proactive in using it, however, and can be cumbersome to switch back and forth. If you're the type of person that uses on-use trinkets proactively, though, it'll be worthwhile. If not, it might be simply better just to tie the Earring into a normal macro, using it whenever it's up. You may actually get more use out of it in the long run.

#showtooltip Greater Heal
/equip <weapon here>
/equip <OH here>
/cast Greater Heal

Offline
Reply With Quote
Old 04/21/08, 1:24 PM   #326
 Adoriele
Happy October 19th!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by Smurrf View Post
#showtooltip Greater Heal
/equip [modifier:shift]<weapon here>
/equip [modifier:shift]<OH here>
/cast Greater Heal
Adding these changes would also allow you to use the macro during normal casting, and by holding the shift key would allow you to re-equip your normal weapons after the buff runs out. You'd have to manually trigger it, but it would be significantly easier and would have the least effect on GCD from weapon swapping.

United States Offline
Reply With Quote
Old 04/21/08, 1:39 PM   #327
The Gopher
Don Flamenco
 
The Gopher's Avatar
 
Dwarf Warrior
 
Black Dragonflight
Originally Posted by Hamsda View Post
just put it in the action bar and bind the slot with 5 and shift-f :o
But then it's just using both bindings for the same action, unless there's some way to specify in the macro to behave a certain way based on the binding used.

<XI> BROWN PEOPLE ARE A BLIGHT ON HUMANITY

Offline
Reply With Quote
Old 04/21/08, 1:46 PM   #328
Sarutobi
Bald Bull
 
Sarutobi's Avatar
 
Toroko
Blood Elf Paladin
 
No WoW Account
Originally Posted by Adoriele View Post
Adding these changes would also allow you to use the macro during normal casting, and by holding the shift key would allow you to re-equip your normal weapons after the buff runs out. You'd have to manually trigger it, but it would be significantly easier and would have the least effect on GCD from weapon swapping.
If you move the 2 equip lines below the Greater Heal cast, you avoid a wasted global cooldown completely.

Originally Posted by The Gopher View Post
But then it's just using both bindings for the same action, unless there's some way to specify in the macro to behave a certain way based on the binding used.
The best way to do it would be to bind the key to 5 and f (instead of shift + f) then include [modifier:shift, target=focus]. That way, if you hit shift + f or shift + 5 it will perform the action on your focus target.

Originally Posted by DeeNogger View Post
Every time I bite into an oatmeal raisin cookie mistaken for a chocolate-chip an angle loses its wings. Fucking trani's of the cookie world!
Originally Posted by castille View Post
Squirrel sex. Get your nut and go home.

Offline
Reply With Quote
Old 04/21/08, 1:57 PM   #329
 Adoriele
Happy October 19th!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by Sarutobi View Post
If you move the 2 equip lines below the Greater Heal cast, you avoid a wasted global cooldown completely.
Hahaha, yes, my bad. You don't avoid it completely, though, as it looks like the GCD caused by weapon swaps (initiates once the swap occurs, which requires response from the server) is slightly behind the GCD caused by spell casts (initiated by pressing the cast button, response from server only verifies or removes). In essence you'll still add your latency to the GCD with the macro, but in the case of GHeal, that doesn't matter too much.

United States Offline
Reply With Quote
Old 04/21/08, 2:23 PM   #330
Smurrf
Don Flamenco
 
Smurrf's Avatar
 
Human Paladin
 
Lothar
Ah, right...I'd forgotten about that; which shows how much weapon swapping I do. It does mean, however, that that first heal will be somewhat less robust, though. I guess I'm too used to making macros to pop tirnkets while casting spells...

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Public Discussion » Public Discussion

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Warlock] 5 v 5 Macro help Cronjob Player vs. Player 13 09/08/07 6:38 AM
Need help with a macro. Iol User Interface and AddOns 5 08/10/07 3:36 PM
Macro Fun KGBAgent185 Public Discussion 16 11/05/05 1:24 PM