Game Development Community

Console commands

by Mike G · in Torque Game Engine · 09/23/2009 (7:36 pm) · 7 replies

I am trying to figure out some console commands so please feel free to post all of them off the top of ur head and thanks

#1
09/23/2009 (7:41 pm)
This should be enough to get you started!
#2
09/23/2009 (9:56 pm)
I once saw someone tell me a command for the console and it brought up all of the commands.all I wanna know is some simple commands for my tge program
#3
09/23/2009 (10:36 pm)
  • Bring up the console and type any letter, then press TAB to cycle through all available commands that start with that letter.

  • Get the ID of any object and type ID#.dump() in the console for a list of all methods usable by that object/class.

  • Type dumpConsoleFunctions() in the console.

  • Type dumpConsoleClasses() in the console.

  • Those last two are found wrapped up in two handy little functions called writeOutFunctions() and writeOutClasses() located in scriptDoc.cs. Using these will print out the list to a text file for you.
    #4
    09/23/2009 (10:39 pm)
    And lets not forget about tree() either!
    #5
    09/28/2012 (5:13 am)
    is there a command to write those console commands to a txt / log file ?
    #6
    09/28/2012 (9:48 am)
    Quote:
    Those last two are found wrapped up in two handy little functions called writeOutFunctions() and writeOutClasses() located in scriptDoc.cs. Using these will print out the list to a text file for you.
    #7
    09/28/2012 (9:56 am)
    The link to the TorqueScript reference is on this page of the docs.