Log in

View Full Version : Macro Pet conditionals?



Ghallo
02-06-2010, 11:43 PM
Ok, so is it possible to use the Pet's state in a macro?

I'm looking for a way to easily toggle my pets between Passive and Defensive states (hardly ever want to use aggressive) without a modifier. So basically, if the pet is in defensive and I hit the button he switches to passive. Hit the button again and he switches back to defensive.

Thoughts?

Ughmahedhurtz
02-07-2010, 03:50 AM
Do you want it to work in-combat? if so, I'm not sure how that'd work. You could do it in a /script line if you didn't care about combat.

Ualaa
02-07-2010, 04:14 AM
Well, you can keybind the pet bar, so passive and defensive are whatever, without the need for a modifier key.

Or, depending on your software you can set up a two step action.
As in, on the first press it does one thing, and on the second press of the same key it does something different.
Pretty easy to do with IS Boxer.
Not sure what you are using.

Ghallo
02-08-2010, 03:51 PM
So there isn't something like [pet:aggressive]? Obviously I tried THAT, but it didn't work...

I'd just love it if I could do other things with it ... like:
/petattack [pet:nopassive]

So then I could set Imp to passive and the 2 FelGuards to Defensive and still have a single button send the FelGuards into battle.

Oh well, thanks for the help.

Ualaa
02-08-2010, 06:39 PM
Well...

You can have the Felguards on Defensive or Passive (as you choose).
And the Imp on passive.

That way, the imp will only attack if you tell it to.

On the warlocks with Felguards, include in their click macros:
/petattack

You could easily have two attack/click macros for the warlock with the imp.
And just drag the one you want to use, onto the dps/click hotkey.
One includes ( /cast [pet:imp] Firebolt ), while the other does not.

That gets you control on whether the pet attacks or not.
But instead of hitting a macro which changes your pets state (passive/defensive), you are moving a macro into position ahead of another.

If you use IS Boxer, you could do this with a mapped key.
Basically... have "1" outputs "1" to your warlock (with imp).
Also have... "1" outputs "2" to your same warlock, as a different mapped key.
Then create your toggle mapped key (same function as your desired macro).... which enables one mapped key for the warlock, and disables the other. Give it two steps, and do the reverse on step 2.
That way the toggle mapped key, performs the function of the macro you are looking for.

lans83
02-09-2010, 02:49 AM
If you're running any hunters, here is a macro I use alot. I have this on one key and a separate one set to make my pet come back to me and stop attacking even in combat.

First is:

Pet PMS (yes that's the name of the macro) :D
/target pet
/cast Misdirection
/cast Bestial Wrath
/castsequence Kill Command, Intimidation
/cast Stoneform (main is dwarf, slaves are draenei)
/petautocastoff Cower (off for tanking, on for dps)
/petautocaston Growl (on for tanking, off for dps)
/petautocaston Thunderstomp (I use bears for tanking btw)
/petattack
/targetlasttarget

The second macro I have, I'll have to double check next time I log in, is set to tell my pets to stop attacking and come back to my side. If memory serves right, it's just a simple /petstay command. I haven't tried, but I'm assuming that /petdefensive and/or /petoffensive would also work. I'll try and if so, I'll just set them up on two separate keys so I can just tap them a couple times when need be to make sure the command gets sent to all clients. I don't use modifiers and have the keys to spare, so I'll try it this way. You can apply this same macro to your Lock's also I imagine, with a few changes of course. It's also been a while since I used this macro, so I'm not sure if any of these share and cooldowns now other than KC and Int, so next time I log my main hunter, I'll try this again to see.