Thread Tools Display Modes
Prev Previous Post   Next Post Next
01-02-21, 07:15 PM   #2
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Lua Code:
  1. create_cast_bar = function(self, unit, frame)
  2.     ...
  3.     frame.Castbar = Castbar
  4. end

Is "frame" the unit frame here? The castbar element only functions when "Castbar" is a child of that object.
I'm going to guess that you'd want this to be "self.Castbar = Castbar" instead.
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Trying to implement Castbar but it stays at 100%


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