Game Development Community

Selective Pause

by Aditya Kulkarni · in Torque Game Builder · 09/15/2010 (6:21 am) · 3 replies

$timescale = 0 pauses all schedules.

Is it possible to exclude a schedule or a timer callback and have everything else as paused?

#1
09/15/2010 (7:12 am)
The code, as it is, treats $timescale as a global that affects everything. There's nothing that I know of that will easily do what you want.

I'm working on a change that will allow $timescale to work at the scene graph level. That means that all global schedules will always go and that only schedules that are tied to a specific scene graph will pause. Unfortunately, it requires a source code change.
#2
10/01/2010 (7:22 am)

Bouncing happily, does a somersault, lands painlessly on the right toe and points towards his profile.


Hand it over! Also the shadow code. :)
#3
10/02/2010 (6:45 pm)
The changes I was working on weren't working, so there was no need for a scene-specific timescale. :( Sorry!