If I understand the events correctly, I think that the first sub event is unpausing the game, and the second sub event is immediately pausing it again.
Consider the following walkthrough of the events:>>> Timescale = 0.>>> User presses Escape.Event:
On Escape pressed >>> TRUE__ Sub-Event:
Timescale = 0 >>> TRUE - because Timescale = 0____ Action:
Menutext set invisible >>> Menutext is now invisible.____ Action:
Set timescale to 1 >>> Timescale is now 1.__ Sub-Event:
Timescale does not equal 0 >>> TRUE - because Timescale = 1____ Action:
Menutext set visible >>> Menutext is now visable.____ Action:
Set timescale to 0 >>> Timescale is now 0 again.
You'll need to make sure that only one OR
the other sub event runs.
You can use an ELSE
condition to achieve this. Manual page for the ELSE condition
Using the ELSE condition, would look like this:Event:
On Escape pressed__ Sub-Event: Timescale = 0 ____ Action:
Menutext set invisible ____ Action:
Set timescale to 1__ Sub-Event: ELSE (This will only run if the prior event, at the same indentation level, was false.)____ Action:
Menutext set visible ____ Action:
Set timescale to 0
Hope that helps out.