Thread: LibCoreAPI
View Single Post
01-28-10, 09:47 AM   #33
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Originally Posted by haste View Post
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").
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote