Just looking quickly at what you posted, I think the issue is your anchor points... anchor_pt is the part of the frame that you're anchoring and relative_pt is the part of the frame you're anchoring to. You're setting anchor_pt to BOTTOMLEFT and relative_pt to TOPLEFT which means the bottom of the unit frame it being anchored to the top of the console and that would place the entire unit panel off screen... you probably want to use anchor_pt = "TOPLEFT" and relative_pt = "BOTTOMLEFT"
Also, I'm assuming it is a type, but Lua variable names are case sensitive, so "nuI_TopBars" =/= "nUI_TopBars" -- if that's not a typo, that would also be a problem.
And just so the wordpolice out there in forumland don't smack you with their verbal blackjacks... Lua is not an acronym (LUA) -- it's Hawaian for "moon" I believe. I have no idea why a programming language is named "moon", but whatever. ~lol~
|