1. #4841
    The Lightbringer RoKPaNda's Avatar
    Join Date
    Sep 2009
    Posts
    3,621
    Quote Originally Posted by lawomous View Post
    PlaySoundFile("Sound\CREATURE\RookStonetoe\VO_54_OR_ROOK_SPELL_01.OGG")
    in the wow-update-enUS-17266.MPQ file.
    Thank you.

  2. #4842
    Quote Originally Posted by SylvanElf View Post
    Hmm... Sorry to Bug you again PNut... This toggles the "V" key nameplates with health bars; How would I change this to *only* show and hide the player/NPC names in green/red above the unit's head? Would I just removes the bolded lines below?

    /run local function toggle(v)SetCVar(v,1-GetCVar(v))end toggle("UnitNameOwn")toggle("UnitNameNPC")toggle("nameplateShowFriends")toggle("fctFriendlyHealers")toggle("fctSpellMechanicsOther")

    So it should read:

    /run local function toggle("UnitNameOwn")toggle("UnitNameNPC")toggle("fctFriendlyHealers")toggle("fctSpellMech anicsOther")

    Is this correct now?
    don't remove the toggle function definition, just remove when it's called on nameplateShowFriends

  3. #4843
    Quote Originally Posted by pnutbutter View Post
    don't remove the toggle function definition, just remove when it's called on nameplateShowFriends
    Hmm.... so how should it read then? Thank you again for the guidance!

  4. #4844
    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.

  5. #4845
    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?

  6. #4846
    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.

  7. #4847
    [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.

  8. #4848
    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.

  9. #4849
    The Patient
    Join Date
    Jul 2012
    Location
    UK
    Posts
    204
    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?

  10. #4850
    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

  11. #4851
    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.

  12. #4852
    "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

  13. #4853
    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!!

  14. #4854
    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

  15. #4855
    Pit Lord Tearor's Avatar
    Join Date
    Dec 2007
    Location
    Դժոխք
    Posts
    2,307
    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.

  16. #4856
    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

  17. #4857
    Pit Lord Tearor's Avatar
    Join Date
    Dec 2007
    Location
    Դժոխք
    Posts
    2,307
    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.

  18. #4858
    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

  19. #4859
    The Lightbringer
    Join Date
    Jun 2008
    Location
    Italy
    Posts
    3,017
    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

  20. #4860
    [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

Posting Permissions

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