Game Development Community

Difficulty finding all scripting commands

by Andy Hawkins · in Torque Game Builder · 09/14/2011 (6:21 am) · 3 replies

I didn't realise the command getBehavior existed until I skimmed through the tutorials such as Rainy Day. Some older resources listed it as behavior only. I looked on the official T2D documentation pages and still couldn't find it.

Where are the docs that list all the commands in Torque script? Especially for T2D/TGB.

#1
09/14/2011 (6:30 am)
They are not fully documented, but you can find a large list of API calls in the offline documentation. It is located under the "Reference" section. TDN also has a good collection of information on methods/functions available in T2D.
#2
09/14/2011 (6:20 pm)
In my hard core programming days we had some software that took the rational rose model and spat out documentation from that. Surely this can be done with the engine? Hmm perhaps that's a job for me :)
#3
09/14/2011 (6:41 pm)
Found one.. Doxygen www.stack.nl/~dimitri/doxygen/

Will see what I can do.