Hot tip: bind escape to quit()
by Alex Rice · in Torque Game Builder · 09/06/2005 (11:52 pm) · 4 replies
Incredibly simple, yet useful for development and debugging
if($gDBugLevel)
{
GlobalActionMap.bindCmd(keyboard, "escape", "", "quit();");
GlobalActionMap.bind(keyboard, tilde, ToggleConsole);
}About the author
#2
09/07/2005 (1:22 am)
Does that cleanly quit() out of the engine, or just basically kill off the process?
#3
09/07/2005 (2:42 am)
I've always bound it to Q. Less movement for my lazy ass. :p
#4
- Melv.
09/07/2005 (3:55 am)
"quit()" is an internal shutdown and so is a clean quit. Everyone has been using it without knowing whenever you click on a button/menu to quit T2D. :)- Melv.
Torque Owner Jason Swearingen
at least, always on windoze boxen.