PDA

View Full Version : castsequence for modifier laden macro



marvein
12-19-2007, 05:09 PM
Ok Im sure that title is ugly but its basically what Im trying to do.

My intent here is I have one for each party member (so party1, party2, etc.) This way I can have all 5 shamans cast some form of heal on a certain other party member depending on what modifier key im hlding down (if at all). That being said unless I am doing heroics I dont see the need for 4-5 shamans to zerg cast a heal on one character (chain heal might be the exception because they can all just around as a sort of 'group' heal) So what I am thinking of doing is trying to build in a cast sequence into the heals and I just need some confirmation that I have the right syntax is all.

So for example lets say I want to be able to press alt+p to cast a healing wave on my main. Well a full healing wave is a ton of hp and mana and would likely be overkill in most situations. So what I am wanting to do is alternate each time I press it. So the following is what I have come up with for now and I want to know if Ive got it right or would this make wow self destruct or something lol. This will be the example macro for the first 3 characters out of 5 (not going to type them all)

ok the following should work for what I was wanting, thank you fursphere for pointing out where I noobed it :)

/castsequence [target=mainname,modifier:alt] Healing Wave, , , ,
/castsequence [target=mainname,modifier:shift] Chain Heal
/castsequence [target=mainname] , , , ,Lesser Healing Wave

================================================== ========================

/castsequence [target=mainname,modifier:alt] ,Healing Wave, , ,
/castsequence [target=mainname,modifier:shift] Chain Heal
/castsequence [target=mainname] Lesser Healing Wave, , , , ,

================================================== ========================

/castsequence [target=mainname,modifier:alt] , , Healing Wave, ,
/castsequence [target=mainname,modifier:shift] Chain Heal
/castsequence [target=mainname] , Lesser Healing Wave, , ,

So what I am hoping is the first time I hit the macro key using the alt modifier, my main will cast a healing wave on itself, the next time I do it the 2nd shaman will cast a healing wave on my main, and so on. The reason for doing this is to spread out the mana usage of my characters and not waste mana with a bunch of overhealing. So again the question is, did I do this right? like are the commas and [paramaters] all in the right place and so on and will this work the way I want it to?

Thanks for the help :)

*edit* had the wrong number of commas in the wrong places, so now its written exactly how it should look. and as ebola pointed out the [target=party1] changes between character (which I was aware of but didnt account for) so just assume that these macros are 1 for each character in order to cast a rotation of heals on the primary character (pewpews) Ill post all 25 macros when I have this sorted out to make it more obvious.

*edit2* seems I might have had them worded wrong so how is it now?

Ebola
12-19-2007, 05:42 PM
One thing I would like to add to this question is, how do you deal with the fact that Party1, Party2..... are not the same for each character, unless Im missing something?

marvein
12-19-2007, 05:46 PM
One thing I would like to add to this question is, how do you deal with the fact that Party1, Party2..... are not the same for each character, unless Im missing something?

you arent missing it I just didnt include it in my example sort of by accident, but I will be coding it properly for each character. So basically I will have 25 different variations of this same macro corresponding by character name instead of party location. I just dont have my character names written down here at work because im still just working things out so used the 'party1 identifier for simplicity reasons. So basically assume that each macro I listed above is designed to cast on the same target and the change between each one is which person is casting what.

When I get all these macros created ill post them so you can see how it looks.

marvein
12-19-2007, 05:50 PM
You can't imbed multiple modifiers in one macro, and you can't imbed multiple targets in one macro either.

targets wont change so i cna just remove that. but im sure you can do multiple modifiers, ive seen people do it.

*edit* ok i think I know what you mean. let me change them and see how it looks.

*edit* ok fursphere, how do they look now?

marvein
12-19-2007, 06:07 PM
Better. :)

ok good, so those should work? :D

marvein
12-19-2007, 07:10 PM
I think so. They look right at least. You'll have to test them to be sure.

When you select the icon for the macro, use the ? icon. When you hit the modifier key, the macro should change to the spell icon your going to cast. Simple way to spot check the macros. :)

good idea ill try that. Put this macro dev on puase because the problem is solved now its just busy-work and turned my attention to totem sequences and scenarios. I know it will be a while before I have them but I want to be thruough about this :)

Pardall
09-04-2008, 07:30 PM
Sweet one. I was with the same problem. Everytime I wanted to heal, it was everyone healing Target #1, then #2, etc.. This simple castsequence solves this, and I couldnt think of that by myself.