View Single Post
11-14-15, 02:03 PM   #14
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,879
What was the error? If the healthbar is not a StatusBar widget or the panels Onload fires before STUF is loaded that will cause errors as mentioned in Phanx's post.

It looks like the healthbar is not a statusbar but several seperate frames so my best guess would be:

Code:
hooksecurefunc(Stuf.units.target.hpbar.bar, "SetVertexColor", function(self, ...)
         self.bg:SetVertexColor(...)
    end)
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 11-14-15 at 02:15 PM.
  Reply With Quote