blah that thread is only somewhat helpful.
now i have a "to many locals error" 200 max. table some of the locals? not sure how to table the framecreate local though. not without causing other problems.
Vrul do you mean something like this?
local Party1ispvp = UnitIsPVP("Party1") --- this being one local
local Party1CurrHealth, Party1MaxHealth = UnitHealth("Party1"), UnitHealthMax("Party1") --- does this count as two locals jammed into one? since im not actually using the word local again?
to table a createframe that looks like this
lua Code:
-- Pedestal Frame
local Party1PedestalFrame = CreateFrame('Frame', "Party1PedestalFrame", GUI_Party1Frame)
Party1PedestalFrame.texture = Party1PedestalFrame:CreateTexture()
can it just be done like this?
lua Code:
GrimUIPartyFunc = {}
-- Pedestal Frame
GrimUIPartyFunc.Party1PedestalFrame = CreateFrame('Frame', "Party1PedestalFrame", GUI_Party1Frame)
Party1PedestalFrame.texture = Party1PedestalFrame:CreateTexture()