Thread Tools Display Modes
Prev Previous Post   Next Post Next
11-03-08, 01:42 PM   #11
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
Join Date: May 2006
Posts: 281
Originally Posted by hipjipp View Post
Thanks! Working nicely now. Now i'm just going to add a border around it to make it look sleeker.. =)

Edit: I can't seem to get my self.Threat.bg to be created by self.Threat, it bums out.
Code:
Attempt to call method "CreateTexture" (a nil value)
Code:
self.Threat = self.Health:CreateTexture(nil,"BACKGROUND")
self.Threat:SetTexture(statusbar)
self.Threat:SetPoint("RIGHT", self, "LEFT", -2, 0)
self.Threat:SetHeight(20)
self.Threat:SetWidth(10)

self.Threat.bg = self.Threat:CreateTexture(nil, "BORDER")
self.Threat.bg:SetAllPoints(self.Threat)
self.Threat.bg:SetTexture(.25, .25, .25)
From my understanding you're trying to create a texture attached to another texture instead of a status bar, a .bg needs a statusbar to attach to, any higher instance correct me if i'm wrong
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
 
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » oUF - Layout discussion


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off