View Single Post
01-18-16, 01:02 PM   #13
Lesteryoung
A Black Drake
Join Date: Aug 2015
Posts: 81
BUMP

Anyone know of a way to do

Code:
local oldfunc=CompactUnitFrameUtil_UpdateFillBar;
function CompactUnitFrameUtil_UpdateFillBar(frame,previous,bar,...)
    if bar==frame.myHealPrediction or bar==frame.otherHealPrediction then
        return previous;
    end
 
    return oldfunc(frame,previous,bar,...);
end
 
hooksecurefunc("CompactUnitFrame_SetUpFrame",function(frame)
    frame.myHealPrediction:Hide();
    frame.otherHealPrediction:Hide();
end);
without getting action blocked errors?
  Reply With Quote