- Joined
- Aug 12, 2014
- Messages
- 3
- Reaction score
- 0
- First Language
- English
- Primarily Uses
Hello and good day! I am fairly new to RPGMaker VX Ace, especially scripts. Right now I am making a short, decision-based game and I would like to ask some help in regards to the script used for loading and returning to the main menu.
What I want to do is, when the player 'dies', he/she doesn't get a game over screen and instead, they'll be greeted by the 'Show Choices' event. They can then choose to load a saved file or return to the main menu. I have tried searching for scripts similar to this but most of the scripts I found involved battles. I tried to fiddle around from a Game Over script by a guy named regendo on a different forum.
Edit: Since Hudell has been a big help, the only problem I have now is when players press X (cancel) when they are choosing a save file to load. I can't seem to figure out what script to use for it.
@>Show Choices: Load Game, Main Menu : When [Load Game] @>Script: SceneManager.call(Scene_Load) @> : When [Main Menu] @>Script: SceneManager.goto(Scene_Title) : Branch EndEdit 2: Since my post hasn't been approved yet, thanks again Hudell. I tried to do a little bit of thinking and changed .call(Scene_Load) to goto(Scene_Title) and it worked fine for the other option. It may be little, but I'm kind of happy since I have no knowledge of this whatsoever. The only problem I have now is when players try to cancel after pressing 'Load Game'.
What I want to do is, when the player 'dies', he/she doesn't get a game over screen and instead, they'll be greeted by the 'Show Choices' event. They can then choose to load a saved file or return to the main menu. I have tried searching for scripts similar to this but most of the scripts I found involved battles. I tried to fiddle around from a Game Over script by a guy named regendo on a different forum.
Edit: Since Hudell has been a big help, the only problem I have now is when players press X (cancel) when they are choosing a save file to load. I can't seem to figure out what script to use for it.
@>Show Choices: Load Game, Main Menu : When [Load Game] @>Script: SceneManager.call(Scene_Load) @> : When [Main Menu] @>Script: SceneManager.goto(Scene_Title) : Branch EndEdit 2: Since my post hasn't been approved yet, thanks again Hudell. I tried to do a little bit of thinking and changed .call(Scene_Load) to goto(Scene_Title) and it worked fine for the other option. It may be little, but I'm kind of happy since I have no knowledge of this whatsoever. The only problem I have now is when players try to cancel after pressing 'Load Game'.
Last edited by a moderator:

