So I'm Still getting errors with boss frames,
So I was wondering would this be the correct way to adjust the scale of a boss frame?
Code:
local BossFrame = CreateFrame("Frame");
BossFrame:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT")
BossFrame:SetScript("OnEvent",
for i = 1, MAX_BOSS_FRAMES do
local bossFrame = "Boss"..i.."TargetFrame"
_G[bossFrame]:SetScale(db.unitframes.boss.scale);
end;
end)
Because as far as "Boss Frame" this is the only thing I have in my code that directly points to a boss frame.
Thanks
Coke