oUF_ScriptableBar

  • 1 page found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
Main starlon starlon Aug 11, 2011
local mybar = CreateFrame("StatusBar", nil, self) mybar.expression = "return random() * 100" mybar.min = "return 0" mybar.max = "return 100" mybar.color1 = "return random(), random(), random(), 1" mybar.length = 100 mybar.height = 15 mybar.direction = WidgetBar.DIR_EAST mybar.update = 200 mybar.texture = cfg.tex mybar:SetPoint("BOTTOM", self.Health, "TOP") mybar:SetMinMaxValues(0, 100) mybar:SetStatusBarTexture(mybar.texture) mybar:SetValue(50) mybar:SetHeight(mybar.height)...
  • 1 page found