Game Development Community

Pause Time Scale

by Güvenç Şahin · in Torque Game Engine Advanced · 05/26/2009 (3:52 pm) · 3 replies

Hi,
i am triyng to add a pause menu to my game(sinlge player game) and i have to stop all activities in the game (ai's, sounds, physics, etc.) when the player is in the pause menu. Is there a time scale function in TGEA ? or does anyone have any idea about how to solve this pause game problem ?
Thanks

#1
05/26/2009 (4:01 pm)
$TimeScale = 0;
#2
05/26/2009 (5:00 pm)
thanks for your answer :)
#3
05/30/2009 (8:17 am)
Be very carefull when using $TimeScale variable since it appears to be a little glitchy will timers and scheduled events. IE AI players go a little crazy XD