View Single Post
05-07-21, 07:48 AM   #4
rulezyx
A Flamescale Wyrmkin
 
rulezyx's Avatar
Join Date: Jan 2020
Posts: 106
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:
Attached Images
 

Last edited by rulezyx : 05-07-21 at 07:53 AM.
  Reply With Quote