So recently I've managed to event an animated title screen, and it starts with 4 normal options of New Game, Continue, Options, and Shutdown (Exit). Yayyy it mostly works!
But here's what's happening:
I evented my own picture icons on the title screen for the 4 menu options that are "unselected" and "selected" based on a looping variable.
Every time I select Continue (variable = 2) or Options (variable =3), and press cancel, suddenly, the entire set of events on the title menu reset, and I can't seem to figure out why.
In other words, the save files/options menu pop up just fine thanks to the script calls, but the moment I hit the cancel button, all the pre-title events reset....including the splash screens I have.
I will walk you through my coding events:
Event 001 is the very first event that runs the moment the game starts on this pre-title events map.
It autoruns to show 2 splash screens (logos), before setting a "SplashScreensDone" variable to 1, to turn itself off.
Next, after that variable is set to 1, it triggers these 2 parallel events:
This event 002 is just a parallel set of looping background pictures I'm using for an "animated title screen".
The only thing that I think might be important is that I set that same variable to 2 from before.
(I do this so there is no input allowed from the player until after a wait finalizes in the next event.)
In this event 003, (also parallel) is my selection event.
So here, a loop begins (after 002's variable is set to 2) to where another variable called MainMenuSelector begins at 1.
Basically, I made it to where the player's button input increases/decreases a unit of 1 for this selector variable, and it's always trapped in the set of 1, 2, 3 and 4 since anything beyond or below just resets the corresponding values back.
Hence, I linked the variable's 1-2-3-4 values to the pictures of New Game, Continue, Options, and Shutdown.
1 = new game
2 = continue
3 = options
4 = shutdown
This is where my problem finally comes in:
What exactly is causing the issue I stated above? Like I said before, New Game and Shutdown work just fine.
But if I hit "OK" on the Continue or Options (2 or 3), and I decide to exit those save file or options menus, the ENTIRE process repeats. (The splash screens, the setup of the event menu, etc)...it's as if all my variables are reset to zero or something.
Is there anything wrong with the script call perhaps? I've triple checked this code and I just can't seem to figure out what's causing this.
But here's what's happening:
I evented my own picture icons on the title screen for the 4 menu options that are "unselected" and "selected" based on a looping variable.
Every time I select Continue (variable = 2) or Options (variable =3), and press cancel, suddenly, the entire set of events on the title menu reset, and I can't seem to figure out why.
In other words, the save files/options menu pop up just fine thanks to the script calls, but the moment I hit the cancel button, all the pre-title events reset....including the splash screens I have.
I will walk you through my coding events:
Event 001 is the very first event that runs the moment the game starts on this pre-title events map.
It autoruns to show 2 splash screens (logos), before setting a "SplashScreensDone" variable to 1, to turn itself off.
Next, after that variable is set to 1, it triggers these 2 parallel events:
This event 002 is just a parallel set of looping background pictures I'm using for an "animated title screen".
The only thing that I think might be important is that I set that same variable to 2 from before.
(I do this so there is no input allowed from the player until after a wait finalizes in the next event.)
In this event 003, (also parallel) is my selection event.
So here, a loop begins (after 002's variable is set to 2) to where another variable called MainMenuSelector begins at 1.
Basically, I made it to where the player's button input increases/decreases a unit of 1 for this selector variable, and it's always trapped in the set of 1, 2, 3 and 4 since anything beyond or below just resets the corresponding values back.
Hence, I linked the variable's 1-2-3-4 values to the pictures of New Game, Continue, Options, and Shutdown.
1 = new game
2 = continue
3 = options
4 = shutdown
This is where my problem finally comes in:
What exactly is causing the issue I stated above? Like I said before, New Game and Shutdown work just fine.
But if I hit "OK" on the Continue or Options (2 or 3), and I decide to exit those save file or options menus, the ENTIRE process repeats. (The splash screens, the setup of the event menu, etc)...it's as if all my variables are reset to zero or something.
Is there anything wrong with the script call perhaps? I've triple checked this code and I just can't seem to figure out what's causing this.