1. #11341
    Quote Originally Posted by Jeremypwnz View Post
    Doesn't seem to work.

    " 'then' expected near 'Knight' " --I expect this to be the case for each "Class then" part..

    One of these days I'll figure out how to do lua..
    Oh right, I overlooked that part. You have to encase your classes with quotation marks in order for them to be classified as strings. I assume you've previously defined Class as UnitClass("unit")? I'm not sure, but you might have to capitalize your class strings.

  2. #11342
    Quote Originally Posted by Sakpoth View Post
    Oh right, I overlooked that part. You have to encase your classes with quotation marks in order for them to be classified as strings. I assume you've previously defined Class as UnitClass("unit")? I'm not sure, but you might have to capitalize your class strings.
    Not sure if it was capitalizing class strings or going lower case on " class = 'DEATHKNIGHT' " like what was shown in class specific things for class specific powers bars later on in the file. Got it mostly working.

    Code:
    local playerClass = UnitClass("unit");
    		if class == 'DEATHKNIGHT' then
    		self:SetBackdropColor(0.77, 0.12, 0.23, 1)
    	elseif class == 'DRUID' then
    		self:SetBackdropColor(1.00, 0.49, 0.04, 1)
    	elseif class == 'HUNTER' then
    		self:SetBackdropColor(0.67, 0.83, 0.45, 1)
    	elseif class == 'MAGE' then
    		self:SetBackdropColor(0.41, 0.80, 0.94, 1)
    	elseif class == 'MONK' then
    		self:SetBackdropColor(0.33, 0.54, 0.52, 1)
    	elseif class == 'PALADIN' then
    		self:SetBackdropColor(0.96, 0.55, 0.73, 1)
    	elseif class == 'PRIEST' then
    		self:SetBackdropColor(1, 1, 1, 1)
    	elseif class == 'ROGUE' then
    		self:SetBackdropColor(1, 0.96, 0.41, 1)
    	elseif class == 'SHAMAN' then
    		self:SetBackdropColor(0, 0.44, 0.87, 1)
    	elseif class == 'WARLOCK' then
    		self:SetBackdropColor(0.58, 0.51, 0.79, 1)
    	elseif class == 'WARRIOR' then
    		self:SetBackdropColor(0.78, 0.61, 0.41, 1)
    	else
    		self:SetBackdropColor(0, 0, 0, 0.8)
    	end
    I'm trying different things I found on here but all I'm getting is for the class I'm currently on. Regardless of target/class. Since I'm playing a Hunter, all backdrops are Hunter class color.

    Friend of mine is also trying to figure out what to do on this, and suggested something about setting a variable for the backdrop or something.
    Last edited by Jeremypwnz; 2013-05-07 at 11:59 PM.
    Omnipotent WCL || Omnipotent Site || Stream: 5-9pm PST Tues/Wed/Thurs || Worst Btag Ever: Slenderman#1355

  3. #11343
    Code:
    if UnitIsPlayer(unit) then
        local _, class = UnitClass(unit)
        self:SetBackdropColor(RAID_CLASS_COLORS[class].r, RAID_CLASS_COLORS[class].g, RAID_CLASS_COLORS[class].b)
    else
        self:SetBackdropColor(0, 0, 0)
    end
    Last edited by Nibelheim; 2013-05-08 at 08:27 PM.

  4. #11344
    Now Raid/Party/Target/TT/Focus/FT isn't turning class colors. Only player frame. :/
    Omnipotent WCL || Omnipotent Site || Stream: 5-9pm PST Tues/Wed/Thurs || Worst Btag Ever: Slenderman#1355

  5. #11345
    High Overlord
    Join Date
    Jul 2012
    Location
    Sweden
    Posts
    132
    Quote Originally Posted by Nibelheim View Post
    Thank you very much. Exactly what I was looking for.

  6. #11346
    Quote Originally Posted by Jeremypwnz View Post
    Now Raid/Party/Target/TT/Focus/FT isn't turning class colors. Only player frame. :/
    Woops. Fixed up my previous post.

  7. #11347
    Quote Originally Posted by Nibelheim View Post
    Woops. Fixed up my previous post.
    Still experiencing the same problem.. /sadface

    Quote Originally Posted by Jeremypwnz View Post
    Now Raid/Party/Target/TT/Focus/FT isn't turning class colors. Only player frame. :/
    Omnipotent WCL || Omnipotent Site || Stream: 5-9pm PST Tues/Wed/Thurs || Worst Btag Ever: Slenderman#1355

  8. #11348
    Well, if this don't work, best to post on an oUF forum.
    Code:
    if UnitIsPlayer(self.unit) then
        local _, class = UnitClass(self.unit)
        self:SetBackdropColor(RAID_CLASS_COLORS[class].r, RAID_CLASS_COLORS[class].g, RAID_CLASS_COLORS[class].b)
    else
        self:SetBackdropColor(0, 0, 0)
    end

  9. #11349
    Ugh...

    I'm trying to get rid of the default blizzard proc borders (around spell icons) so that they don't overlap with my custom weakauras ones.

    The only solution I've found disables the proc border texture completely, which disables it for everything...including weakauras.

    Any solutions? I've tried spellflash but that adds a hell of a lot more than I want. I don't want blinking spells telling me how to play, I just want to define when the proc borders go up. Ideally I'd rather a different proc border altogether (I do like the red spellflash ones...) but one thing at a time.

    I lack the skills necessary to make a custom spellflash module.

  10. #11350
    The Patient
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    294
    How can I get xCT or MSBT to merge my incoming and outgoing damage and heals like Rigg has in his UI?

    I can merge the two types in xCT, but I want then incoming to be justified to the left and the outgoing justified to the right. I've only been able to get one justification when they are in the same scroll area.


  11. #11351
    Quote Originally Posted by Nephrenka View Post
    How can I get xCT or MSBT to merge my incoming and outgoing damage and heals like Rigg has in his UI?

    I can merge the two types in xCT, but I want then incoming to be justified to the left and the outgoing justified to the right. I've only been able to get one justification when they are in the same scroll area.

    Probably EavesDrop

  12. #11352

    How can I hide or move these things offscreen? I never use either for any reason and would love a way to be rid of them. Thanks!
    Last edited by Treeston; 2013-05-11 at 06:43 PM.

  13. #11353
    Hey guys, I got kinda specific addon question. I would like to know, it there is such an addon or if it would be hard to make one.

    We are raiding 10 man guild and mostly 2(3) healing those encounters. WoL analysis is fine, but what I lack is manapool information. Our Holy Pally seems to be trying hard to keep in meters and he is burning his mana pretty fast from beginning of the fight.

    So what I want is:

    Make addon which would monitor actual manapool of chosen people in raid, but only in bossfights. Result should be stored to simple text file where would be smth. like timestamp/name/manapool -> so I could compare "manastate" with healing in WoL.

  14. #11354
    Does anyone know how to make recount a chat tab? I remember seeing a video a while back where someone had their recount as a tab in their chat box I don't know how he did it though.

  15. #11355
    Quote Originally Posted by Charecters View Post
    Does anyone know how to make recount a chat tab? I remember seeing a video a while back where someone had their recount as a tab in their chat box I don't know how he did it though.
    All you'd really have to do is parent and anchor Recount to ChatFrame3 (or a further chat frame if you're already using the 3rd) and then make a 3rd chat frame (right click on General chat tab, click Create New Window). If Recount doesn't have the option to set it's parent, then you can do this via code:

    Code:
    local f = CreateFrame("Frame")
    f:RegisterEvent("PLAYER_LOGIN")
    f:SetScript("OnEvent", function()
    	if Recount then
    		Recount.MainWindow:SetParent(ChatFrame3)
    		Recount.MainWindow:ClearAllPoints()
    		Recount.MainWindow:SetAllPoints(ChatFrame3)
    	end
    end)
    Last edited by Nibelheim; 2013-05-13 at 03:07 PM.

  16. #11356
    Hi i am looking for a way to save my elvui profile from the folders, i've lost my profile already once and don't want to lose it again since i have put alot of time into the settings and small things!

  17. #11357
    Blademaster
    Join Date
    Mar 2011
    Location
    WSG flag room /dance
    Posts
    41
    Quote Originally Posted by Nibelheim View Post
    All you'd really have to do is parent and anchor Recount to ChatFrame3 (or a further chat frame if you're already using the 3rd) and then make a 3rd chat frame (right click on General chat tab, click Create New Window). If Recount doesn't have the option to set it's parent, then you can do this via code:

    Code:
    local f = CreateFrame("Frame")
    f:RegisterEvent("PLAYER_LOGIN")
    f:SetScript("OnEvent", function()
    	if Recount then
    		Recount.MainWindow:SetParent(ChatFrame3)
    		Recount.MainWindow:ClearAllPoints()
    		Recount.MainWindow:SetAllPoints(ChatFrame3)
    	end
    end)
    Don't suppose you could give a more in depth how to?
    Is That Am I.

  18. #11358
    Quote Originally Posted by Roolek View Post
    Don't suppose you could give a more in depth how to?
    Make an addon out of it and make sure you list Recount as a dependancy in the TOC file.

    http://www.mmo-champion.com/threads/...lve-easy-steps
    Code:
    ## Dependencies: Recount

  19. #11359
    Blademaster
    Join Date
    Mar 2011
    Location
    WSG flag room /dance
    Posts
    41
    Thanks very much, works great
    Is That Am I.

  20. #11360
    Looking for an Addon that will basically start a pull countdown then cast Bloodlust.

    I first thought about doing this in a macro, but can't figure out a way to delay the cast until the count finishes...then I figured an Addon could do it and before I go and try to learn how to make an Addon, I figured I'd check to see if anyone ever heard of something.


    Basically I want a button on my screen I can press, will do a /pull 5 (or something like it) then Lust....just so everyone can pop their minons prior to the Lust going out. I push to talk on Vent, and sometimes that screws me up when pushing to announce then casting and such.

Posting Permissions

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