Game Development Community

Could it turn the echoing of console command on?

by Kehnan Liao · in Torque Game Engine · 02/16/2004 (7:21 pm) · 3 replies

SetLogMode() could list the log of functions of the script.But I also want to know what console commands had been used.Could it have any way to turn the echoing of console command on?

About the author

Recent Threads

  • Just load a .dts...

  • #1
    02/16/2004 (7:45 pm)
    Not sure exactly what you looking for, sounds like you wish to have the engine echo out each command entered in the console. Correct? if so, then your in luck.. the engine automagicly does this.

    Fire up torqueDemo.exe, load a mission and then press "~" and type quit(); you should see this in the console.log file

    ==>quit();

    -Ron
    #2
    02/17/2004 (4:27 am)
    Hello,

    I think he means instead of logging to a file it logs to the console so he can see all the logs while its running and not after. I am not sure how you would do this but it sounds interesting. There are some debugging tutorials and the enbedded script editor. They may know.
    I would guess that you would have to change the implementation of CON::printf (i believe thats the name) so that it echos to the console instead. If you figure it out put a howto :) this would be very helpful.

    Ben
    #3
    02/17/2004 (3:04 pm)
    I suggest looking at Con::eval()...