Game Development Community

SetScenePause

by Stephen Triche · in Torque Game Builder · 07/12/2006 (12:44 pm) · 1 replies

I've looked over at the reference doc and in the actual source and still aren't sure what this function does exactly. It does a few things I expected, and then didn't do others.

For example, it froze any sprites that were moving due to a MoveTo() or RotateTo() command, but camera shakes continued and any setTimer() timers I had set continued to tick and perform their operations.

#1
07/13/2006 (7:45 am)
SetScenePause works wonderfully for some things, but it's important to keep in mind that schedules in TorqueScript continue to do their thing; which can cause unexpected results.

If you're working on a pause game GUI, play around with setting the global variable $timescale to 0 to stop everything.