Originally Posted by Zagrei
Make sure you aren't putting it in the AzCastBar\core.lua. It has to go into the acb_CastBar\core.lua. Biiig difference :P
|
this is the lua in acb_castbat/core.lua
self.safezone:Hide();
end
end
local bg = CreateFrame("Frame", nil, bar)
bg:SetBackdrop({
bgFile = 'Interface\\AddOns\\TinyDPS\\Textures\\blank.tga',
edgeFile = 'Interface\\AddOns\\TinyDPS\\Textures\\blank.tga',
edgeSize = 1,
})
bg:SetBackdropColor(0, 0, 0, .4)
bg:SetBackdropBorderColor(0, 0, 0)
bg:SetFrameStrata("BACKGROUND")
bg:SetPoint("TOPLEFT", bar, -1, 1)
bg:SetPoint("BOTTOMRIGHT", bar, 1, -1)
-- Initialise Each Bar
local bars = { "Player", "Target", "Focus", "Pet" };
local lastBar;
for _, token in ipairs(bars) do
local bar = AzCastBar.CreateMainBar("Frame",token,extraOptions);
bar.unit = token:lower();
whats wrong with it?
because I cant even configure it atm.