View Single Post
11-07-16, 04:03 PM   #3
devilArt
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 51
Originally Posted by Phanx View Post
The simplest way would be to spawn 3 different headers, one for each group type, and use a visibility conditional on each one so that it was only shown in the desired group type.

For example:

Code:
local party = oUF:SpawnHeader("oUF_MyLayout_Party", nil,
    "custom [nogroup][group:party,@party1,noexists][group:raid,@raid6,exists]hide;show")

local raid10 = oUF:SpawnHeader("oUF_MyLayout_Raid10", nil,
    "custom [nogroup][group:party][@raid6,noexists][@raid11,exists]hide;show")

local raid25 = oUF:SpawnHeader("oUF_MyLayout_Raid25", nil,
    "custom [nogroup][group:party][@raid11,noexists]hide;show")
this is exactly what I looking for
thanks phanx
  Reply With Quote