Hi Everyone,
I'm currently trying to fix my UI again on the MoP Beta by converting Live settings over, with updated Addons etc.
So right now i've a little problem with a script I'm using for 2 of my Bartender bars.
thats how it looks on live right now
onEvent
Code:
local pmems = GetNumPartyMembers()
local rmems = GetNumRaidMembers()
if (pmems == 0 and rmems == 0) then
BT4Bar5:SetPoint( "BOTTOM", BT4Bar6, "TOP", -39, 43 )
elseif (pmems >= 1 and pmems <= 5 and rmems==0)
then
BT4Bar5:SetPoint( "BOTTOM", BT4Bar6, "TOP", -41, 84 )
elseif (rmems >= 1 and rmems <= 6)
then
BT4Bar5:SetPoint( "BOTTOM", BT4Bar6, "TOP", -41, 84 )
elseif (rmems >= 7 and rmems <= 10)
then
BT4Bar5:SetPoint( "BOTTOM", BT4Bar6, "TOP", -41, 126)
elseif (rmems >= 11 and rmems <= 20)
then
BT4Bar5:SetPoint( "BOTTOM", BT4Bar6, "TOP", -41, 126)
elseif (rmems >= 21 and rmems <= 30)
then BT4Bar5:SetPoint( "BOTTOM", BT4Bar6, "TOP", -41, 161)
elseif (rmems >= 31)
then BT4Bar5:SetPoint( "BOTTOM", BT4Bar6, "TOP", -41, 197)
end
onLoad
Code:
self:RegisterEvent("PLAYER_ENTERING_WORLD")
self:RegisterEvent("PARTY_MEMBERS_CHANGED")
self:RegisterEvent("RAID_ROSTER_UPDATE")
so basicly depending on raid size, those two bars get moved up or down on my screen, so they are nicely placed over my vuhdo raidframes.
atm its not moving anything at all on the Beta for me, anyone can help me here?
here some screenshots, so you get an overview what i mean :p
http://i.imgur.com/MJzpE.jpg live(4.3)
http://i.imgur.com/4le8j.jpg mop beta (build 15799)
Thanks in advance