Thank You again like always for the help.
I went with a simple approach when creating this new UI. If I would have kept on with BasicUI I would be totally lost. im using the
(local _, ns = ...) for my variables then as you see in the code ns.variable.
Everything so far seems to be going better no errors with boss fights (just doing the "for" instead of a function works great.
Here is what my unitframe.lua looks like now.
and these are the options for it:
Code:
ns.unitframesEnable = true
ns.unitframesCastbarScale = 1.193
ns.unitframesPlayerScale = 1.193 -- Player Frame Scale
ns.unitframesTargetScale = 1.193 -- Target Frame Scale
ns.unitframesFocusScale = 1.193 -- Focus Frame Scale
ns.unitframesPartyScale = 1.193
ns.unitframesPartyPosition = {relAnchor = "TOPLEFT", offSetX = 10, offSetY = -200}
ns.unitframesArenaScale = 1.193
ns.unitframesBossScale = 1.193
Again thanks for the help.
Coke