Game Development Community

Undocumented Functions

by Jacob Wagner · in Torque Game Builder · 07/29/2005 (10:31 am) · 5 replies

Where can I find a list , and possibly documentation, for the functions that aren't included in the reference or the torquescript doc? For example, various math functions, schedule(), etc.?

Do I have to look in the c++ source code to find this info?

It appears that appendix C of the torquescript doc. has 'torque console commands and functions' which may be what I'm asking for, but it appears that you have to own TGE to access this?

#1
07/29/2005 (10:34 am)
You can run these commands from the console

writeOutFunctions();
writeOutClasses();

:)
#2
07/29/2005 (10:37 am)
You are awesome as ever, Matt :)
#3
07/29/2005 (11:07 am)
Glad I could help... if that doesn't write a .txt file to the folder with your .exe in it (it sometimes does and sometimes doesn't) just save off your console.log as something else after running those commands and closing T2D :)

btw if you need more detailed information on a function just ask, or check the source... I hate to give that answer, but it really isn't as bad as it sounds, just search for that function name and it will either be in a "ConsoleMethod" or a "ConsoleFunction". Looking in the source is probably the most dependable way to get info, considering people can give you incorrect info and wrong answers, while the source is exactly how its handled :)
#4
07/29/2005 (1:52 pm)
I can't imagine there is a problem to reference this here, but if it turns out otherwise can a GG authority edit this appropriately please?

Jacob, do a google search here for "TGE_Console_Cmds.rtf". There are a bunch of links, some work and some don't. I know the link to the version on gamebeavers.org worked recently.

This is a file originally written against TGE outlining the basic built-in functions for math/strings/etc. It's most probably outdated but the more basic commands surely haven't changed. Hopefully when TDN is released, cross-product resources like this one will be more available.
#5
07/30/2005 (9:38 am)
If anyone is interested, I found a good way to find docs on all the console commands, just get TorqueDev , which is at: torque.netmercs.net/

TorqueDev is also a cool editor that works with T2D. So is Torsion, though.