Author Topic: Function List for Newbs  (Read 969 times)

It would be helpful for there to be a function list put in the game (viewable with a key like F1 and the help menu) for newbs like me who are new in addon development to see to use.  Addons makers should be able to put their own functions in for use, too.

List of default functions and parameters: https://forum.blockland.us/index.php?topic=310223.0

Addons makers should be able to put their own functions in for use, too.
not sure what you mean by this

List of default functions and parameters: https://forum.blockland.us/index.php?topic=310223.0
not sure what you mean by this


Suppose that addon maker Joe has a function like crashClient();.  The hypothetical function list should be designed so that Joe, if he so chooses, can somehow list crashClient(); and what it does in the list.

dumpConsoleFunctions();

There is no way of adding function definitions or argument names in torquescript. Functions that have descriptions and arguments listed were made inside the engine.

If you made a GUI for it, you could just have people register descriptions with a client addon. Might make a good Glass feature, potentially.

Having to boot up Blockland in order to view documentation sounds annoying. It's easier to just open up text files.

There's documentation for default Torque functions here: http://www-rohan.sdsu.edu/~stewart/GPGT/Appendix%20A%20-%20Quick%20References.pdf

For functions added by user add-ons, (at least functions intended to be used by others as a resource,) any good developer should be documenting what they do within the code files. If someone's not willing to do that, they're probably not willing to register it with a documentation add-on.
« Last Edit: June 01, 2017, 09:05:28 PM by Headcrab Zombie »