1. #10801
    Quote Originally Posted by Treeston View Post
    Looks solid. Good job.

    You'll probably want to check for UnitLevel and register PLAYER_LEVEL_UP
    Ok, i got this:

    Code:
    local Stance = GetShapeshiftForm()
    local _, Class = UnitClass("player")
    
    if Class == "PALADIN" and UnitLevel("player") >= 89 then
        self.bg:SetVertexColor(0.96, 0.55, 0.73) else
        self.bg:SetVertexColor(0.5, 0.5, 0.5)
    elseif Class == "DRUID" and Stance == 3 then
        self:Show() self.bg:SetVertexColor(1.00, 0.49, 0.04)
    elseif Class == "ROGUE" then
        self:Show() self.bg:SetVertexColor(1.00, 0.96, 0.41)
    else self:Hide()
    end
    
    if GetComboPoints("player","target") >= 5 then
        self.bg:SetAlpha(1)
    elseif UnitPower("player", SPELL_POWER_HOLY_POWER) >= 5 then
        self.bg:SetAlpha(1) 
    else self.bg:SetAlpha(0.3)
    end
    But it say [string "CP5_OnEvent"]:7: 'end' expected (to close 'if' at line 4) near 'elseif'
    Last edited by Deathtrip2k; 2012-11-25 at 05:24 PM.

  2. #10802
    Code:
    if Class == "DRUID" and Stance == 3 then
    self:Show() self.bg:SetVertexColor(1.00, 0.49, 0.04)
    elseif Class == "ROGUE" then
    self:Show() self.bg:SetVertexColor(1.00, 0.96, 0.41)
    elseif Class == "PALADIN" then
        if UnitLevel("player") >= 89 and Class == "PALADIN" then
        self.bg:SetVertexColor(0.96, 0.55, 0.73)
        else self.bg:SetVertexColor(0.5, 0.5, 0.5)
    end 
    else self:Hide()
    end


    Code is usually indented differently from how you do it to make the hierarchy more obvious, though:
    Code:
    if Class == "DRUID" and Stance == 3 then
        self:Show() self.bg:SetVertexColor(1.00, 0.49, 0.04)
    elseif Class == "ROGUE" then
        self:Show() self.bg:SetVertexColor(1.00, 0.96, 0.41)
    elseif Class == "PALADIN" then
        if UnitLevel("player") >= 89 and Class == "PALADIN" then
            self.bg:SetVertexColor(0.96, 0.55, 0.73)
        else
            self.bg:SetVertexColor(0.5, 0.5, 0.5)
        end 
    else
        self:Hide()
    end
    UI & AddOns expert | Interface & Macros moderator - My work

  3. #10803
    Awsome! thanks alot, Feral druid, rogue and paladin down... All the other classes to go

  4. #10804
    Couldn't find anything with search, perhaps my googlefu is weak.

    I'm looking for an addon that alerts me when specific text appears. Ie. I'm on another monitor reading etc and I want it to announce someone looking for alchemist or hpally for example.

    Is this possible or does it exist?

  5. #10805
    Working on AZCastbars aura plug-in. How do I make aura timers appear as #h, #m, and # (for seconds)? I don't care much for the ##:## style.

    I found this if it helps at all.

    Code:
    if (self.cfg.auraLabelFormat == "STACK") then
    			bar.name:SetFormattedText(timer.count and timer.count > 1 and "%d" or "",timer.count);
    		else
    			bar.name:SetFormattedText(timer.count and timer.count > 1 and self.cfg.auraLabelFormat == "FULL" and "%s (%d)" or "%s",timer.label,timer.count);
    Edit: I saw someone say something about TatooStats somewhere around these parts, checked it out, now I'm wondering how to add a font shadow to its text. I have "shadowoffset = {x = 1, y = -1}" from my bChat, but I'm unsure of where it would go.
    Last edited by Jeremypwnz; 2012-11-26 at 07:46 PM.
    Jeremypwnz Armory JeremypwnzUI Jeremy's Logs<--(Contains all guild raids)
    1/13H T15 25m <Calm Down> Calm Down Logs -- Recruiting an Elemental Shaman and a Boomkin!

  6. #10806
    Is there an add-on out there that tells you what new skills your off-spec gets when you level up?

    It's very annoying to miss something major for your off-spec and don't realize it til 20 levels later. :S

    The current UI only announces when your current spec learns something new.

  7. #10807
    I have a setup in weakAuras that I'm happy with, though I want the aura I created to hide (specifically, fade out over a 3 second duration) when not having anything targeted. How could I do this? Let me know if this isn't specific enough.

  8. #10808
    Pandaren Monk Henkdejager's Avatar
    Join Date
    Nov 2010
    Location
    Hiding in your computer.
    Posts
    1,885
    any1 here know what addon this it :

    http://www.youtube.com/watch?&v=8v3H...&noredirect=1#!

    the bars the warrior uses above his enemies and how he configs it. wish i could ask him myself but he blocked messages..

  9. #10809
    Quote Originally Posted by Henkdejager View Post
    any1 here know what addon this it :

    http://www.youtube.com/watch?&v=8v3H...&noredirect=1#!

    the bars the warrior uses above his enemies and how he configs it. wish i could ask him myself but he blocked messages..
    Looks like Tidy Plates using the Quatra layout.

  10. #10810
    Pandaren Monk Henkdejager's Avatar
    Join Date
    Nov 2010
    Location
    Hiding in your computer.
    Posts
    1,885
    Quote Originally Posted by Greevir View Post
    Looks like Tidy Plates using the Quatra layout.
    hmm u seem to know more! my tidy plates won't show the color of my enemy class...how can i do this ?

  11. #10811
    Is there any smarter way of writing stuff like this if i want to Fetch and Show / Hide multiple frames?

    Code:
    local _, class = UnitClass("player")
    local Test1 = kgPanels:FetchFrame("Test1")
    local Test2 = kgPanels:FetchFrame("Test2")
    local Test3 = kgPanels:FetchFrame("Test3")
    local Test4 = kgPanels:FetchFrame("Test4")
    local Test5 = kgPanels:FetchFrame("Test5")
    
    if Class == "ROGUE" then
        Test1:Show()
        Test2:Show()
        Test3:Show()
        Test4:Show()
        Test5:Show()
     else
        Test1:Hide()
        Test2:Hide()
        Test3:Hide()
        Test4:Hide()
        Test5:Hide()
    end
    Last edited by Deathtrip2k; 2012-11-28 at 12:38 AM.

  12. #10812
    Sorry if this has been asked before, I'm looking for this specific addon for showing the available CD's in a raid.

    http://imgur.com/AQUr6

  13. #10813
    Mechagnome taximals's Avatar
    Join Date
    Sep 2011
    Location
    Australia
    Posts
    508
    So i was in LFR and this message came up, any idea what addon would have done it?

  14. #10814
    Quote Originally Posted by Henkdejager View Post
    hmm u seem to know more! my tidy plates won't show the color of my enemy class...how can i do this ?
    Open up your Interface options, go to Tidy Plates Hub: Damage (or tank), Scroll down to "Health Bar Mode", click on the "Health Bar Color" drop down menu and choose "By Enemy Class".

  15. #10815
    Can anyone tell me what UI is used for the self frame and target frame in this video. Seems to be something done with Pitbull but how do you get the staggering effect where the mana is off-center from the health frame.

    http://www.youtube.com/watch?feature...&v=bRPJImG7SGQ

  16. #10816
    Quote Originally Posted by Xintho View Post
    Can anyone tell me what UI is used for the self frame and target frame in this video. Seems to be something done with Pitbull but how do you get the staggering effect where the mana is off-center from the health frame.

    http://www.youtube.com/watch?feature...&v=bRPJImG7SGQ
    Looks like unit frames included in ElvUI.

  17. #10817
    Epic! Mehman's Avatar
    Join Date
    Mar 2012
    Location
    The moon
    Posts
    1,674
    Quote Originally Posted by Sakpoth View Post
    Looks like unit frames included in ElvUI.
    This
    Looks very much like ElvUI.

  18. #10818
    http://www.youtube.com/watch?feature...&v=Gb1GkVpR6Rs

    What is the combat text used in this video? (character Rogerbrown)

  19. #10819
    Quote Originally Posted by taximals View Post
    So i was in LFR and this message came up, any idea what addon would have done it?
    You're using Elvui and that's what it says if you're trying to change talents/glyphs. I believe Elv changed it in the most recent update. I was amused by it .

  20. #10820
    Have anyone noticed problems with pet classes when using OmniCC? The problem I'm having is: every time my pet is out (I play a hunter) and OmniCC is loaded, the game stutters like crazy. I suspect it has to do with cooldown timers displayed on pet ability buttons, as this problem does not manifest itself when my pet is dismissed or when playing petless class.

    For now I resorted to SexyCooldown but I'd rather use OmniCC as I always did.

    This occurrs on both 64 and 32 bit clients, btw.

Posting Permissions

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