106
Modification Help / Re: Quite a few questions
« on: June 01, 2015, 04:54:59 PM »3. What are script objects? How do I use them? How are they useful?Script objects are extremely useful. They are TorqueScript's version of object oriented programming (google it).
4. How do I get source code from a default function?You either ask someone who has decrypted the .dso files, or decrypt them yourself.
5. Is it possible to bring up a list of default global variables? How?Put $ in console, press tab repetitively. Alternatively you could try exporting "$*", however recently that seems to be crashing for whatever reason.
7. What is the correct way to call a parent function in a package?parent::FUNCTION(%ARG1, %ARG2, ... , %ARGN);
Make sure that you return that if the function you are packaging returns something. If in doubt, do it anyway.
8. How can I store variables for clients? (Player persistence?)Use file objects to create a file that stores the data. Its a big subject, look them up.