Re: Secret problem in episode
Posted: 22 Dec 2016, 13:00
I have used, but failed. The problem is that when I use it takes you to the next level.
//
// COMING BACK FROM SECRET LEVEL
//
if (gamestate.mapon == 9)
gamestate.mapon = ElevatorBackTo[gamestate.episode]; // back from secret
else
//
// GOING TO SECRET LEVEL
//
if (playstate == ex_secretlevel)
gamestate.mapon = 9;
//
// COMING BACK FROM SECRET LEVEL 2
//
if (gamestate.mapon == 10)
gamestate.mapon = ElevatorBackTo2[gamestate.episode]; // back from secret 2
else
//
// GOING TO SECRET LEVEL 2
//
if (playstate == ex_secretlevel)
gamestate.mapon == 10;