Pause Game while window not active?
by amaranthia · in Torque Game Builder · 05/16/2008 (2:47 pm) · 2 replies
Another little question about TGB 1.7... Is there a command that will pause the game while the game window is not at the top of the z order?
Associate Phillip O'Shea
Violent Tulip
function onWindowFocusChange(%isFocused) { if (!%isFocused) pauseGame(); else unpauseGame(); }