making a cast macro, need help

User avatar
Sukurachi
Grand Master Hunter
Grand Master Hunter
Posts: 2755
Joined: Tue Feb 23, 2010 10:10 am
Realm: The Scryers (Horde), Argent Dawn (Alliance)
Gender: male
Location: Québec, Canada

making a cast macro, need help

Unread post by Sukurachi »

I have no idea if this is even possible, but...

is it possible to make a single button macro that will target yourself, cast a spell, then press again it will target the next player in your party and cast the same spell, then target the next player and cast again?

I'd love to have a single button for stuff like underwater breathing, where I can just hit the button a couple of times and it will cycle through everyone in the party, casting that spell on them. Same with Slow Fall.

A bit of palindromic wisdom:
"Step on no pets!"
Casual player.. don't raid, don't PvP. Suffer from extreme altitis
I love pets - combat or non.
<That Kind of Orc> guild on The Scryers, small, casual LGBT and friends guild, join us Horde-side.

User avatar
Aeladrine
Grand Master Hunter
Grand Master Hunter
Posts: 2803
Joined: Thu Jul 01, 2010 10:06 pm
Realm: Frostwolf, Blackwater Raiders
Gender: Female
Location: Tumblr, probably.
Contact:

Re: making a cast macro, need help

Unread post by Aeladrine »

Hmm. I don't think so? Not with my limited knowledge of macros, anyway. Unless you always group with the same people.
• Aela's Pet Journal

Image
Totally fantastic avatars and signatures by Sookie, Nili, Serenith, and Kurenio.
Tumblr || Deviantart || WoW RP Blog

User avatar
Anyia
 Community Resource
 Community Resource
Posts: 1135
Joined: Mon Aug 23, 2010 9:35 pm
Realm: Jubei'Thos (US/Oceania)
Location: Australia
Contact:

Re: making a cast macro, need help

Unread post by Anyia »

I logged back in for the first time in ages to have a play with this, and right now I can't see a way to do so. The casting and targeting functions are all "protected", meaning that only the Blizzard UI can access them. This means that the only things available are the regular macro commands, not the full language available to add-ons (in which this would have been trivial - alas, I only end up with a popup saying "A macro script has been blocked from an action only available to the Blizzard UI.").

The best I can think of would be to write a macro which casts the same spell on different targets depending on which keyboard modifiers are active. So, for example:
/cast [nomod,@party1] Slowfall; [mod:shift,@party2] Slowfall; [mod:ctrl,@party3] Slowfall; [mod:alt,@party4] Slowfall; [mod:shift,mod:ctrl,@party5] Slowfall
Pardon any typos, I'm on F2P with only a level 10 character. so can't actually test the above.

Hope this has been of some help...
User avatar
Sukurachi
Grand Master Hunter
Grand Master Hunter
Posts: 2755
Joined: Tue Feb 23, 2010 10:10 am
Realm: The Scryers (Horde), Argent Dawn (Alliance)
Gender: male
Location: Québec, Canada

Re: making a cast macro, need help

Unread post by Sukurachi »

hmm, that's an interesting suggestion. I'll get back to you as soon as I've tested it, thank-you very much!


EDIT*************

Thank-you Anyia! the macro works great.
:hug:

A bit of palindromic wisdom:
"Step on no pets!"
Casual player.. don't raid, don't PvP. Suffer from extreme altitis
I love pets - combat or non.
<That Kind of Orc> guild on The Scryers, small, casual LGBT and friends guild, join us Horde-side.

Post Reply