• 0

    posted a message on Unofficial oUF - methods used for layouts
    Haha, kinda embarrassed it was so easy. Thanks you two and extra thanks Lyn for the layout.
    Posted in: Unit Frames
  • 0

    posted a message on Unofficial oUF - methods used for layouts
    Can anyone help me with this? I'm trying to get it to filter so only groups 1-5 are showing at any given moment.

    --
    -- raid
    --
    oUF:RegisterStyle("Raid", setmetatable({
    	["initial-width"] = width,
    	["initial-height"] = height,
    }, {__call = func}))
    oUF:SetActiveStyle("Raid")
    local Raid = {}
    for i = 1, NUM_RAID_GROUPS do
    	local RaidGroup = oUF:Spawn("header", "oUF_Raid" .. i)
    	RaidGroup:SetAttribute("groupFilter", tostring(i))
    	RaidGroup:SetAttribute("showRaid", true)
    	RaidGroup:SetAttribute("yOffset", -10)
    	RaidGroup:SetAttribute("point", "TOP")
    	--RaidGroup:SetAttribute("sortDir", "ASC")
    	RaidGroup:SetAttribute("showRaid", true)
    	table.insert(Raid, RaidGroup)
    	if i == 1 then
    		RaidGroup:SetPoint("TOPLEFT", UIParent, 5, -35) 
    	else
    		RaidGroup:SetPoint("TOPLEFT", Raid[i-1], "TOPRIGHT", 10, 0)	
    	end
    	RaidGroup:Show()
    
    end


    I think this is the bit you need to edit the raid groups, if you need more you can view the entire layout here http://dl.getdropbox.com/u/25201/layout.lua.

    Appreciate any help on this, thanks!
    Posted in: Unit Frames
  • 0

    posted a message on Chatter- Ace3 chat mod (was Chatterbox)
    How can I remove channel names completely? I was using just " " and it worked, but now there's a space before the channel. I'm looking to get it to look like:

    [Blindlabel]: blah blah blah

    Also, if I don't put a space in the text box it'll just go back to [Guild].
    Posted in: General AddOns
  • 0

    posted a message on Help me fix these DogTag lines please!
    I've gotten everything else back to normal. I was just wondering if there was any replacement for ShortClassification. I'm trying to get something like [Level:DifficultyColor][ShortClassiciation] [SmartRace]

    73b Undead
    70+ Undead
    64r Undead

    Probably a better way to use those tags, but that's the way I had been using it prior to the update.

    Appreciate any help with this subject, thanks guys.
    Posted in: AddOn HELP!
  • 0

    posted a message on [PitBull] IMPORTANT - Aura module rewrite.
    Quote from Ellipsis »

    But in the meantime, since Blindlabel is looking for a Lua tweak... my guess would be lines 118, 149, 209, and 226 of Layout.lua, "x = x + <whatever>" could be changed to "x = x + <whatever> + 2" - however I have absolutely no clue whether this would actually work. You're quite welcome to try it and let us know how it turns out, though! :)


    This worked like a charm, thanks a lot for the help Ellipsis!
    Posted in: Unit Frames
  • 0

    posted a message on [PitBull] IMPORTANT - Aura module rewrite.
    How would I go about adding a 2 pixel space between each buff/debuff? Before it was "pos_a = pos_a + size + 2" and "pos_b = pos_b + size + 2." I can no longer find these lines in the lua and I don't know enough about the code to know what it was changed too.

    Thanks for the help!
    Posted in: Unit Frames
  • To post a comment, please or register a new account.