Log in

View Full Version : Need Macro Pro to fix my macro



pinotnoir
03-19-2008, 10:03 PM
I got this on the forums awhile back. I am having some trouble with it in instances. It should command people to heal the focus target if the focus clicks on a party member and presses the macro. For some reason its not working when I instance. It seems to work fine out of combat. maybe one of the modifiers is off. Can a macro pro take a look at it and let me know which part is messed up?

#showtooltip
/cast [target=focustargettarget,help,nodead,exists] Lesser Healing Wave; [target=target,help,nodead,exists] Lesser Healing Wave; [target=player] Lesser Healing Wave

thinus
03-19-2008, 10:52 PM
Have you tried:


/cast [target=focustargettarget,help,nodead,exists] [target=target,help,nodead,exists] [target=player] Lesser Healing Wave

I think you can remove "exists" as well as checking "help" already implies that the target exists.

EDIT: See http://www.wowwiki.com/Useful_macros/Shaman#Smart_Target_Selection_.28Friendly.29

EDIT2: Also from WoWWiki


exists
This determines whether the given unit exists. In other words, if you don't have a target, [exists] will return false. If you have a focus, [target=focus, exists] would be true. Note that in some cases [exists] is unnecessary. [help], [harm], [dead], [party], & [raid] all imply [exists] if they're true.

pinotnoir
03-19-2008, 11:47 PM
So if I remove exist and help it will work how it does out of combat?
What it does out of combat is heal who the focus targets.
Then in combat it is suppose to heal who the enemy is targeting or heal who I am clicking on as the main toon who is set as focus. I checked out that link and there are some nice macros in there. But I am not sure how multibox friendly they are.
Honestly I am shocked I made it this far with macros. I am not very good at them.

thinus
03-20-2008, 12:17 AM
So if I remove exist and help it will work how it does out of combat?
What it does out of combat is heal who the focus targets.
Then in combat it is suppose to heal who the enemy is targeting or heal who I am clicking on as the main toon who is set as focus. I checked out that link and there are some nice macros in there. But I am not sure how multibox friendly they are.
Honestly I am shocked I made it this far with macros. I am not very good at them.

Your macro does the following in order:


Heal the target of your focus target. In other words, the target of whatever your main is targeting. If it is friendly and not dead.
It will heal your current target if it is friendly and not dead.
It heals you.


I suggest the following macro:


/cast [target=focustargettarget, help, nodead, combat] [target=focustarget, help, nodead] [target=target, help, nodead] [target=player] Lesser Healing Wave


It will heal the 1st friendly it finds in the following order:


The target of whatever your focus is targeting when you are in combat. So in combat if your main is tanking a mob this will heal the target of the mob, either your tank or whoever it is beating on. Out of combat this is ignored.
The target of your focus. Whoever your main has targeted will be healed.
Heals your current target.
Heals yourself.

Djarid
03-20-2008, 03:57 AM
In addition to Thinus' comments, it is important to remember that the first condition that is true is the one that takes effect.

Lokked
03-20-2008, 06:02 AM
/cast [target=focustarget,help,nodead,exists][target=focustargettarget,help,nodead,exists][target=player] Healing Spell

In the following order:
Will heal the target of your focus (I assume you use focus targetting), being whatever your Main is targetting, if that target is friendly and alive. If your Main is not targetting a friendly....
Will heal the target of the mob/PvP PC that your Main is targetting (say if your main loses agro, etc). If the main is not targetting anything, or targetting a mob who does not have a target (not engaged)....
Will heal yourself.

I'm not sure what classes you are playing with, but I turned my Number Pad into a Healing Pad. I made *, 9, 6, 3 and . heal chars 1 through 5, with the healing spell tailored to their maximum HP. I also use the regular number bar (number 4) to heal with a macro similar to the above during PvE (as my tank will usually have agro, and I don't want to keep reaching for the Number Pad).

I would do something similar, as you will cause yourself a headache once you experience the lag in Alts keeping up with your Main's targetting. Also, you don't really want to have to use your main to actually target the Alt to heal it. You want to be bashing the mobs head in!

Hope this made sense!

Lokked

Djarid
03-20-2008, 06:55 AM
one possible improvement to lokked's macro


/cast [target=focustarget,help,nodead,exists][target=focustargettarget,help,nodead,exists][] Healing Spell

The empty [ ] has the effect of returning the healing spell to its normal mode e.g.

healable target? YES - heal that target : NO - Heal self

Kel
03-20-2008, 08:26 AM
I think that only works if you have self-cast enabled. I don't and on my Pala I use [] in healing macros to give me the little blue targeting hand.

Djarid
03-20-2008, 09:34 AM
ah useful to know.

to be expected now I think about it... [ ] just returns the spell to as if no conditions were used.

pinotnoir
03-20-2008, 02:10 PM
/cast [target=focustarget,help,nodead,exists][target=focustargettarget,help,nodead,exists][target=player] Healing Spell

In the following order:
Will heal the target of your focus (I assume you use focus targetting), being whatever your Main is targetting, if that target is friendly and alive. If your Main is not targetting a friendly....
Will heal the target of the mob/PvP PC that your Main is targetting (say if your main loses agro, etc). If the main is not targetting anything, or targetting a mob who does not have a target (not engaged)....
Will heal yourself.

I'm not sure what classes you are playing with, but I turned my Number Pad into a Healing Pad. I made *, 9, 6, 3 and . heal chars 1 through 5, with the healing spell tailored to their maximum HP. I also use the regular number bar (number 4) to heal with a macro similar to the above during PvE (as my tank will usually have agro, and I don't want to keep reaching for the Number Pad).

I would do something similar, as you will cause yourself a headache once you experience the lag in Alts keeping up with your Main's targetting. Also, you don't really want to have to use your main to actually target the Alt to heal it. You want to be bashing the mobs head in!

Hope this made sense!

Lokked

I really need to do this too. I can setup my Gkeys on my G15 to heal party 1 through 5. I have shaman healers so how would I set up the macros? Just /tar party2 /cast healing wave? I am not sure if I have anymore macro spots on my toons. :(

pinotnoir
03-20-2008, 02:19 PM
I tried making a macro for the party..
/tar party3
/cast [mod:alt] Chain Heal; [mod:shift] Healing Wave; Lesser Healing Wave

But when the guy who is say Party3 is trying to heal he always heals party 4. It seems like you cannot target yourself even if you are party 3.

Šeceased
03-20-2008, 02:40 PM
I tried making a macro for the party..
/tar party3
/cast [mod:alt] Chain Heal; [mod:shift] Healing Wave; Lesser Healing Wave

But when the guy who is say Party3 is trying to heal he always heals party 4. It seems like you cannot target yourself even if you are party 3.

I'm not 100% sure what you were describing there but the way I imagine it is that as it orders the group alphabetically you have to incorporate that into your macro setup..
so say you have A B C D and Z where Z is ur main and group leader

my guess would be that then the group order becomes Z A B C D
with one little exception dependant on the character ur casting from.. (and I'm not sure on this so might need testing :P)

if you are A:

Player: heals A
Party1: heals Z
Party2: heals B
Party3: heals C
Party4: heals D

if you are B:

Player: heals B
Party1: heals Z
Party2: heals A
Party3: heals C
Party4: heals D

if you are C:

Player: heals C
Party1: heals Z
Party2: heals A
Party3: heals B
Party4: heals D

if you are D:

Player: heals D
Party1: heals Z
Party2: heals A
Party3: heals B
Party4: heals C

if you are Z:

Player: heals Z
Party1: heals A
Party2: heals B
Party3: heals C
Party4: heals D

I'm only guessing here as i haven't the opportunity to test it out atm :S
If you are planning on using this use it at ur own risk.. if you want to change the leader for some reason u'll mess up the order big time :S
you could however use the actual name of the clones instead (if they fit).. stick to part1 for leader if you like tho :) it's a good way to do it if you have different mains :)

pinotnoir
03-20-2008, 04:31 PM
I am thinking using their names would prob be best. I am not sure.. Healing has been my downfall.

Djarid
03-21-2008, 03:40 AM
I tried making a macro for the party..
/tar party3
/cast [mod:alt] Chain Heal; [mod:shift] Healing Wave; Lesser Healing Wave

But when the guy who is say Party3 is trying to heal he always heals party 4. It seems like you cannot target yourself even if you are party 3.

remember that each party list is specific to each char... so PArty1 = leader, party 2 is probably self then party 3-5 in reverse order of creation... could be slightly wrong about that but...

Lokked
03-21-2008, 04:29 AM
Yes, use their names. You can't reliable target using /partyX. With some headache, you may get it working for your 5-man group, but as soon as you enter a raid or BG setting, /partyX targetting will fail.

Lokked

Dezeral
03-21-2008, 09:28 AM
You cannot target yourself using party#. You use "target=player" to target yourself. For each person in the party other than yourself, you have the options of party1, party2, party3, and party4. There isn't a party5 targeting option. All of these targeting options are for the other players in your group. Party1 is always the party leader.

Also, if you're creating macros to heal specific party members, then using /tar party# is not necessary. This is especially true if your using shamans/druids as DPS who also heal. If you switch targets to heal, that means you have to switch back to start DPS'ing again. Instead, you can include your desired target in your macro. For example your original macro was:
/tar party3
/cast [mod:alt] Chain Heal; [mod:shift] Healing Wave; Lesser Healing Wave

This could be re-written to:
/cast [target=party3] [mod:alt] Chain Heal; [mod:shift] Healing Wave; Lesser Healing Wave

This would allow your shaman to keep his/her original target so that they could resume DPS as soon as the heal finished without having to reacquire a target.

A full set of party healing macros would look like:

/cast [target=player] [mod:alt] Chain Heal; [mod:shift] Healing Wave; Lesser Healing Wave
/cast [target=party1] [mod:alt] Chain Heal; [mod:shift] Healing Wave; Lesser Healing Wave
/cast [target=party2] [mod:alt] Chain Heal; [mod:shift] Healing Wave; Lesser Healing Wave
/cast [target=party3] [mod:alt] Chain Heal; [mod:shift] Healing Wave; Lesser Healing Wave
/cast [target=party4] [mod:alt] Chain Heal; [mod:shift] Healing Wave; Lesser Healing Wave

If you're using a dedicated healer whether it be a shaman or druid (or any other healer) then it isn't a big deal to use the /tar party# line in your macro. But it is really going to slow down your DPS output if you're DPS'ing and Healing with the same character.

pinotnoir
03-21-2008, 01:41 PM
I tried doing my macro like this
/cast [target=pinotgrigio] [mod:shift] Healing Wave; [mod:ctrl] Lesser Healing Wave; Chain Heal

It should cast chain heal without modifiers. For some reason it cast healing wave if you press the key without modifiers. The only way I can get it to work is do the macro like this.

/tar pinotgrigio
/cast [mod:shift] Healing Wave; [mod:ctrl] Lesser Healing Wave; Chain Heal

Unless I have something incorrect in my above macro I think this is the only way for me to get it working. Any suggestions?

Maxion
03-23-2008, 06:55 AM
You cannot target yourself using party#. You use "target=player" to target yourself. For each person in the party other than yourself, you have the options of party1, party2, party3, and party4. There isn't a party5 targeting option. All of these targeting options are for the other players in your group. Party1 is always the party leader.I believe you can use party0 to target yourself.

Kel
03-25-2008, 10:35 AM
I could be wrong about this, but i was under the impression that you can't include character names as modifiers.

Things like [target=party1] work, but I thought [target=Kelli] wouldn't as it's protected or something (I'm happy to be proved wrong on this front).

As for the macro itself I think [target=pinotgrigio][mod:shift] Healing Wave; etc
is acting as though [target=pinotgrigio] is a condition, the first condition that is true is activated. So basically I think the macro is saying if my target is Pinotgrigio then cast Healing Wave on it, regardless of the rest of the modifiers.

I think you need to include all the modifiers in the same [], so [target=pinotgrigio,mod:shift] Healing Wave; might work.

Then again I'm tired and ill, so could be talking complete crap :)

Lokked
03-29-2008, 12:08 PM
You can use Character names as long as they are Party'd or Raid'd with you.

I have been doing it for a while now...

Lokked