1. #4841
    I have been playing WoW for several years and have been trying to update my old macros for the new content. My knowledge about macros is limited to assembling pieces that other more knowledgeable people create. I have one of each of the classes and enjoy playing them all. For each character I have tried to set up two macros, the first is a pre-combat and at a distance and is mainly to get me buffed and ready. The second is to actually start the fight and get me off to a good start. The two macros below are the ones I currently use for my Fury Warrior and are typical of the other ones for the other characters. The script and console commands are to avoid needless feedback from those spells which were not off cooldown. Any advice would certainly be appreciated.

    First macro
    #showtooltip Charge
    /startattack
    /script UIErrorsFrame:Hide()
    /console Sound_EnableSFX 0
    /use 13
    /use 14
    /cast Recklessness
    /cast Berserker Rage
    /cast Die by the Sword
    /cast Storm Bolt
    /console Sound_EnableSFX 1
    /cast Charge

    Second macro
    /cast Skull Banner
    /cast Colossus Smash
    /cast Hamstring
    /cast Shield Wall
    /cast Raging Blow
    /cast Heroic Strike
    /use Potion of Mogu Power
    /cast Disarm
    Last edited by Geezer; 2013-10-09 at 09:59 PM.

  2. #4842
    Hi guys.

    #showtooltip
    /cast [@mouseover,exists,nodead][@target,nodead][] Shadowstep

    I want to add to this macro a shift:mod to Shadowstep on my focus target.

    How do I go about doing that?

  3. #4843
    Quote Originally Posted by SylvanElf View Post
    Hmm.... so how should it read then? Thank you again for the guidance!
    Code:
    /run local function toggle(v)SetCVar(v,1-GetCVar(v))end  toggle("UnitNameOwn")toggle("UnitNameNPC")toggle("fctFriendlyHealers")toggle("fctSpellMechanicsOther")
    - - - Updated - - -

    Quote Originally Posted by FiXThEPiEcEs View Post
    Hi guys.

    #showtooltip
    /cast [@mouseover,exists,nodead][@target,nodead][] Shadowstep

    I want to add to this macro a shift:mod to Shadowstep on my focus target.

    How do I go about doing that?
    [mod:shift,@focus,exists,nodead]
    put it in there at whichever priority it should be. highest priority is farthest left.

    also your set of empty brackets there is redundant.

  4. #4844
    [QUOTE=pnutbutter;22795584]
    Code:
    /run local function toggle(v)SetCVar(v,1-GetCVar(v))end  toggle("UnitNameOwn")toggle("UnitNameNPC")toggle("fctFriendlyHealers")toggle("fctSpellMechanicsOther")
    Hmm... I've been doing a lot of reading on this; Why use "/run local function" rather than "/script local " ? and what are the (v) characters doing? Sorry to keep needling this, I just want to understand this better.

    For instance, I have read this is all you might need for showing and hiding player/NPC names... ?

    /console UnitNameOwn (0/1)
    /console UnitNameNPC (0/1)
    /console UnitNameFriendlyPlayerName (0/1)
    /console UnitNameFriendlyPetName (0/1)
    Last edited by SylvanElf; 2013-10-10 at 08:20 PM.

  5. #4845
    Quote Originally Posted by SylvanElf View Post
    Hmm... I've been doing a lot of reading on this; Why use "/run local function" rather than "/script local " ?
    they're exactly the same thing. when you get into making macros that approach the 255 character limit, you'll be looking for any way to write things more compactly.
    and what are the (v) characters doing?
    it's the function parameter. I defined the function named "toggle" that takes a parameter "v" and then acts on that parameter.
    /console UnitNameOwn (0/1)
    /console UnitNameNPC (0/1)
    /console UnitNameFriendlyPlayerName (0/1)
    /console UnitNameFriendlyPetName (0/1)
    yes, if you're doing one-time or static operations. you can make two macros, one that turns all the CVars on, and one that turns all the CVars off. if you only want one macro you have to use Lua to set the CVars dynamically.

  6. #4846
    Question for you fine folks:

    I want to have a basic macro for my pets that works in both BM and SV that should work something like this:

    In BM spec, with no pet it should call my favorite Spirit Beast, Taylorswift.
    In SV spec, with no pet it should call my Sporebat, Waynus.
    With any pet out, it should cast Mend Pet, and if my pet is dead it should cast Revive Pet.

    What I have is this:

    /cast [nopet][spec:1] Call Taylorswift
    /cast [nopet][spec:3] Call Waynus
    /cast [@pet,nodead] Mend Pet
    /cast [target=pet, dead] Revive Pet

    What is wrong here, macro junkies?

  7. #4847
    The first two conditionals should have a comma separating them instead of being in separate brackets. Also, you can put all the /casts in one line.

    Code:
    #showtooltip
    /cast [@pet,nodead]Mend Pet; [@pet,dead]Revive Pet; [nopet,spec:1]Call Taylorswift; Call Waynus
    PS: Be aware that the spec:X conditional uses dual spec indices, not specialization indices. spec:1 is your first dual spec, while spec:2 is your second dual spec.
    UI & AddOns expert | Interface & Macros moderator - My work

  8. #4848
    Hot damn, PNut, you're smart!

    Quote Originally Posted by pnutbutter View Post
    it's the function parameter. I defined the function named "toggle" that takes a parameter "v" and then acts on that parameter.
    And that's not the actual V-key nameplate, right? because I don't want those shown/hidden, just the floating name display of all players and NPCs. The part about the combat text is perfect as is (meaning I understand that part! )

    Quote Originally Posted by pnutbutter View Post
    yes, if you're doing one-time or static operations. you can make two macros, one that turns all the CVars on, and one that turns all the CVars off. if you only want one macro you have to use Lua to set the CVars dynamically.
    That's what I figured, but I like to hear it from someone who knows better than I do! Thank you again for your help, and more importantly your patience.

  9. #4849
    "v" is just a variable name. If you called it "bobby" the code would work exactly the same.
    UI & AddOns expert | Interface & Macros moderator - My work

  10. #4850
    Quote Originally Posted by Treeston View Post
    "v" is just a variable name. If you called it "bobby" the code would work exactly the same.
    Ah, good to know! Thanks!!

  11. #4851
    Hello all, I just want a warlock macro that will tie in CoE to another spell, and not waste time recasting if its already up on the target. I'm destro right now.
    “Goebbels was in favor of free speech for views he liked. So was Stalin. If you’re really in favor of free speech, then you’re in favor of freedom of speech for precisely the views you despise. Otherwise, you’re not in favor of free speech.” - Noam Chomsky

  12. #4852
    Pit Lord Tearor's Avatar
    Join Date
    Dec 2007
    Location
    ჯოჯოხეთი
    Posts
    2,316
    Quote Originally Posted by Lemonpartyfan View Post
    Hello all, I just want a warlock macro that will tie in CoE to another spell, and not waste time recasting if its already up on the target. I'm destro right now.
    1) a macro can't check for buffs/debuffs, so no way to do this
    2) even without this functionality, the macro wouldn't be very useful, as you definitely would have to press it twice (a macro can't execute two spells that both trigger the GCD)
    No point mentioning these bats, I thought. The poor bastard will see them soon enough.

  13. #4853
    Quote Originally Posted by Tearor View Post
    1) a macro can't check for buffs/debuffs, so no way to do this
    2) even without this functionality, the macro wouldn't be very useful, as you definitely would have to press it twice (a macro can't execute two spells that both trigger the GCD)
    Well, crap. Thanks anyway.
    “Goebbels was in favor of free speech for views he liked. So was Stalin. If you’re really in favor of free speech, then you’re in favor of freedom of speech for precisely the views you despise. Otherwise, you’re not in favor of free speech.” - Noam Chomsky

  14. #4854
    Pit Lord Tearor's Avatar
    Join Date
    Dec 2007
    Location
    ჯოჯოხეთი
    Posts
    2,316
    Quote Originally Posted by Lemonpartyfan View Post
    Well, crap. Thanks anyway.
    No problem.
    It's necessary that macros can't do this, because if they could, you could macro your whole dps routine to one button and the macro would make decisions for you. That wouldn't be fun...
    No point mentioning these bats, I thought. The poor bastard will see them soon enough.

  15. #4855
    Im lazy really, so i'm not gonna look through the hundreds of pages in this thread.
    All I need, is a mouseover macro, but if no need cast on self ..

    #showtooltip
    /use [@mouseover] Expel Harm

    ^^ that macro, with the "If no target cast on self" ..

    Thanks in advance

  16. #4856
    The Lightbringer
    Join Date
    Jun 2008
    Location
    Italy
    Posts
    3,376
    Code:
    /cast [exists, @mouseover, help][@player] Expel Harm
    CPU: Intel Core i7-2600K @ 4.8GHz
    Motherboard: Asus P8Z68 Deluxe
    Memory: G.Skill Ripjaws-X 2x4GB 1600Mhz
    VGA: EVGA GTX970 FTW+
    Drive: 1 x OCZ Vertex 3 240Gb + 1 x WD Caviar Black 1TB
    PSU: Corsair AX850W Case: Cooler Master HAF X CPU Heatsink: Noctua NH-D14

  17. #4857
    [help] already implies [exists], and it can be useful with a [nodead] mod in case you'd mouseover a dead player on the raid frames.

    Code:
    #showtooltip
    /use [@mouseover,help,nodead][@player] Expel Harm

  18. #4858
    Quote Originally Posted by S7orm View Post
    Code:
    /cast [exists, @mouseover, help][@player] Expel Harm
    Quote Originally Posted by Sakpoth View Post
    [help] already implies [exists], and it can be useful with a [nodead] mod in case you'd mouseover a dead player on the raid frames.

    Code:
    #showtooltip
    /use [@mouseover,help,nodead][@player] Expel Harm

    Thanks for the quick reply

  19. #4859
    I'm trying to create a macro for my balance druid spec where it basically triggers Celestial Alignment, Incarnation, and Mirror image (from symbiosis) at the same time. All 3 min cd's so they should line up perfectly.

    /cast Incarnation: Chosen of Elune
    /cast Celestial Alignment
    /cast Mirror Image
    Is what I'm using currently, I tried

    /cast Incarnation: Chosen of Elune
    /cast Celestial Alignment
    /cast Symbiosis
    The problem is that the mirror image isn't triggering, I'm not sure how to get it to trigger. It was still on cd both times I tried, & tried using the macro multiple times after incarnation/celestial alignment triggered at the same time.

  20. #4860
    Pit Lord Tearor's Avatar
    Join Date
    Dec 2007
    Location
    ჯოჯოხეთი
    Posts
    2,316
    Quote Originally Posted by Angarin View Post
    I'm trying to create a macro for my balance druid spec where it basically triggers Celestial Alignment, Incarnation, and Mirror image (from symbiosis) at the same time. All 3 min cd's so they should line up perfectly.



    Is what I'm using currently, I tried



    The problem is that the mirror image isn't triggering, I'm not sure how to get it to trigger. It was still on cd both times I tried, & tried using the macro multiple times after incarnation/celestial alignment triggered at the same time.
    The problem is that Incarnation triggers the global cooldown, as well as the Symbiosis spell (I guess) does.
    A macro can't cast two spells that trigger the gcd with just one click, you'd need a /castsequence for that and hit it twice.
    No point mentioning these bats, I thought. The poor bastard will see them soon enough.

Posting Permissions

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