View Single Post
11-03-08, 10:52 AM   #195
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Thats because the threat.lua seems to await a texture not a statusbar. Statusbars can be colorized with SetStatusBarColor, textures require SetVertexColor.

Try to do:
Code:
self.Threat:CreateTexture(nil,"BACKGROUND")
self.Threat:SetTexture(1,1,1,1)
self.Threat:SetPoint("RIGHT", self, "LEFT", -2, 0)
self.Threat:SetHeight(20)
self.Threat:SetWidth(10)
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

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