Originally Posted by haste
No, functions can't change locals outside their own scope. You can do some nifty tricks with the debug library in Lua which allows this, but we don't have that in WoW.
|
Hmm, then I'll LibStub it... Is it also bad to MODIFY certain functions(like setsize) so that they can take other parameters(look at my setsize function, it's exactly the same as the original, but will be content with 1 parameter too)? Or like :Hide("forever").