1. #1

    Simple edit to a multiple target+cast macro

    I'm trying to customize a macro that I've found in the US forums. It goes like this:

    /cast Ice Lance
    /cleartarget
    /tar shakes
    /stopmacro [exists,nodead]
    /tar first
    /stopmacro [exists,nodead]
    /tar captain
    /stopmacro [exists,nodead]
    /tar Doctor

    What this does is, it targets the npc in the next line, and casts Ice Lance until they die(assuming the macro is being spammed). Then move onto the next target.

    What I want to do is to cast different spells on different targets. For example, I want to cast Ice Lance on the targets "shakes" and "captain", while casting Arcane Barrage if the targets are "first" and "Doctor".

    I've been trying to accomplish this with my rookie coding skills, but I couldn't succeed. I'd REALLY appreciate if someone can help.

    Cheers!

  2. #2
    Scarab Lord Taryble's Avatar
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    4,038
    You'd have to have a second macro to do that - one macro for Shakes and Captain, and a second macro for First and Doctor - from what I understand, at least.
    We have done the impossible, and that makes us mighty. - Sgt. Malcolm "Mal" Reynolds, Battle of Serenity Valley

  3. #3
    Code:
    #showtooltip
    /cleartarget
    /tar captain
    /tar shakes
    /cast [exists,nodead]Ice Lance
    /stopmacro [exists,nodead]
    /tar doctor
    /tar first
    /cast [exists,nodead]Arcane Barrage
    UI & AddOns expert | Interface & Macros moderator - My work

  4. #4
    Scarab Lord Taryble's Avatar
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    4,038
    Or an expert like Treeston can write one that does what you want.
    We have done the impossible, and that makes us mighty. - Sgt. Malcolm "Mal" Reynolds, Battle of Serenity Valley

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •