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?
#2
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
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()...
Associate Ron Yacketta
Fire up torqueDemo.exe, load a mission and then press "~" and type quit(); you should see this in the console.log file
-Ron