Game Development Community

EndGameGui

by fiveforty · in Torque Game Engine · 11/07/2005 (6:19 am) · 2 replies

On the starter.racing when you've completed the X number of laps it jumps to the endGameGui screen which waits for X lenght of time and then loads the next mission, but I do not want to load the next mission I want it to go back to the mainMenuGui.

how do I do this???

I am really stumped on this question, please can somebody help??

#1
11/07/2005 (6:30 am)
I'd take a look at the code which handles the user quitting an existing game.
#2
11/07/2005 (6:42 am)
Thanks Jason for pointing me in the right direction... I'd been staring at the problem for so long I had totally overlooked the obvious!

just had to add disconnect(); in the onCyclePauseEnd() function