Thank you both for the fast reply.
Thats my fault and I missed that when I was looking at their code.
I am used to have a texture path for my UI stuff but that makes perfect sense now.
So I tried to use it with one of my raidframe codes:
Code:
hooksecurefunc("CompactUnitFrame_UpdateName",function(frame)
if frame and not frame:IsForbidden() then
local frame_name = frame:GetName()
if frame_name and frame_name:match("^CompactRaidFrame%d") and frame.unit and frame.name then
local unit_name = GetUnitName(frame.unit,true)
if unit_name then
frame.name:SetFont("Fonts\\FRIZQT__.TTF", 10, "OUTLINE")
frame.myHealPrediction:SetGradient("VERTICAL", 100, 100, 100, 100, 100, 100)
end
end
end
end)
I am sure I need to change some of the values but when I do that the effect/curve appears again.
So no matter what value I put in there as long as it is always the same one it appears to be just white: