i need a script that can show "are you sure you want to quit" when the user wants to exit is there anyone that is a script like that i would appreciate that a whole lot
Do you really want to quit script
RGSS3 Scripts (RMVX Ace)Wow no reply oh well its fine if no one has one
The way I have things set up in my game is done by simple eventing. No need for script, but this IS for non-menu quitting. That is to say, have a save point in your maps, not in your menu (or also in your menu, I won't judge).
The event would go like this.
This'll help, but this won't work for the in-menu "Quit" options. There might be a way to make this a "Common Event" and then get a script to replace your Quit option in-menu with something else that'll run that Common Event?
The event would go like this.
Insert Label "Save" (or whatever you want)
MULTIPLE CHOICE
----"Open Save Game Event Here"
----Text: "Are you sure you want to quit?"
----Multiple Choices: YES and NO
----------When yes, Return to Title Screen event.
----------When no, Jump to Label "Save" (or whatever you want. This'll send you back to the previous multiple choice "menu")
MULTIPLE CHOICE
- Save Game
----"Open Save Game Event Here"
- Quit To Title
----Text: "Are you sure you want to quit?"
----Multiple Choices: YES and NO
----------When yes, Return to Title Screen event.
----------When no, Jump to Label "Save" (or whatever you want. This'll send you back to the previous multiple choice "menu")
- Cancel (make this an empty multiple choice event, so that you exit your "menu"
This'll help, but this won't work for the in-menu "Quit" options. There might be a way to make this a "Common Event" and then get a script to replace your Quit option in-menu with something else that'll run that Common Event?
Original thread: https://forums.rpgmakerweb.com/threads/do-you-really-want-to-quit-script.54814/