You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't even know how to begin to approach this. Creating packages directly in Lua would probably be a mess. Should the user just be required to make a package in TorqueScript that uses luaCall?
The text was updated successfully, but these errors were encountered:
On the other hand, it looks like creating packages might not actually be that complex. Or well, creating functions in packages.
Namespace::unlinkPackages();
ns = Namespace::find(fnNamespace, fnPackage);
ns->addFunction(fnName, this, hasBody ? ip : 0);// if no body, set the IP to 0
Namespace::relinkPackages();
Would need to figure out Parent:: too. Which Namespace do you get mParent from?
I don't even know how to begin to approach this. Creating packages directly in Lua would probably be a mess. Should the user just be required to make a package in TorqueScript that uses
luaCall
?The text was updated successfully, but these errors were encountered: