Hello.
I'm trying to get this addon to work, but half of it causes errors. Errors being can't right click hearthstone or consumables.
The code in comments is the ones causing error.
Also oddly enough FocusToT:SetScale(0.8) does not work but TargetToT:SetScale(0.8) does.
I'm very new to making addons, any help or advice is much appreciated.
Code:
local Target = TargetFrame
local TargetToT = TargetFrameToT
local TargetSB = TargetFrameSpellBar
local Focus = FocusFrame
local FocusToT = FocusFrameToT
local FocusSB = FocusFrameSpellBar
TargetToT:ClearAllPoints()
TargetToT:SetPoint("BOTTOM", Target, -1, -11)
TargetToT.SetPoint = function() end
TargetToT:SetScale(0.8)
TargetToT.Name:ClearAllPoints()
TargetToT.Name:SetPoint("TOP", TargetToT, 19, -2.5)
TargetToT.Name:SetScale(1.25)
--TargetSB:ClearAllPoints()
--TargetSB:SetPoint("BOTTOM", Target, 0, -20)
--TargetSB.SetPoint = function() end
--FocusToT:ClearAllPoints()
--FocusToT:SetPoint("BOTTOM", Focus, -1, -11)
--FocusToT.SetPoint = function() end
FocusToT:SetScale(0.8)
FocusToT.Name:ClearAllPoints()
FocusToT.Name:SetPoint("TOP", FocusToT, 19, -2.5)
FocusToT.Name:SetScale(1.25)
--FocusSB:ClearAllPoints()
--FocusSB:SetPoint("BOTTOM", Focus, 0, -20)
--FocusSB.SetPoint = function() end