Thread: Raid problem
View Single Post
11-20-10, 01:45 PM   #10
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Well not for me, I have the problem and I use no fancy custom filters on the visibility argument.

Party header
Code:
    local party = oUF:SpawnHeader(
      "oUF_DiabloPartyHeader", 
      nil, 
      "party",        --visibility debug
      "showSolo",     false, --debug
      "showParty",    true,
      "showPlayer",   true,
      "showRaid",     false,
      "point",        "LEFT",
      "oUF-initialConfigFunction", ([[
        self:SetWidth(%d)
        self:SetHeight(%d)
        self:SetScale(%f)
      ]]):format(128, 64, cfg.units.party.scale)
    )
raid header
Code:
    local raid = oUF:SpawnHeader(
      "oUF_DiabloRaidHeader", --name
      nil,
      "raid",               --visibility debug
      "showSolo",           false,
      "showParty",          false,
      "showRaid",           true,
      "point",              attr.point,
      "yOffset",            attr.yOffset,
      "xoffset",            attr.xoffset,
      "groupFilter",        "1,2,3,4,5,6,7,8",
      "groupBy",            "GROUP",
      "groupingOrder",      "1,2,3,4,5,6,7,8",
      "sortMethod",         "NAME",
      "maxColumns",         attr.maxColumns,
      "unitsPerColumn",     attr.unitsPerColumn,
      "columnSpacing",      attr.columnSpacing,
      "columnAnchorPoint",  attr.columnAnchorPoint,
      
      "oUF-initialConfigFunction", ([[
        self:SetWidth(%d)
        self:SetHeight(%d)
        self:SetScale(%f)
      ]]):format(64, 64, cfg.units.raid.scale)
    )
If I add "solo,party" to party and "solo,party,raid" to raidheader I get a bug.

Once I'm the only person in my group both headers will get spawned.



As soon as more that one is in my group the party header disappears.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 11-20-10 at 01:55 PM.
  Reply With Quote