starlon

Filters

NameUpdatedCategoryAuthorStage
NameUpdatedCategoryAuthorStage

oUF_ScriptableText

Aug 06, 2011 starlon Release
local fs = self.Health:CreateFontString() fs:SetFontObject(GameTooltipTextSmall) fs:SetPoint("BOTTOM", self.Health, "TOP", 0, 15) fs.value = "return Power(unit)" fs.speed = 100 fs.update = 100 fs.repeating = true fs.align = oUF.ALIGN_PINGPONG fs.cols = 20 -- You provide as many fontstrings as you want. Widgets will be created per each. self.ScriptableText = {fs}

oUF_ScriptableBar

Aug 06, 2011 starlon Release
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)...