Save-Point
Prompt for Overwrite Confirmation when Saving - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: Prompt for Overwrite Confirmation when Saving (/thread-2737.html)



Prompt for Overwrite Confirmation when Saving - RPG Advocate - 03-03-2008

Prompt for Overwrite Confirmation when Saving
by RPG Advocate
saved from Phylomortis.Com


Introduction
This script modifies the save system so that if the player attempts to save in a slot already occupied by a save file, the game will ask for confirmation before overwriting the save.


Demo
>Click<


Script
Save Overwrite Confirmation Prompt



RE: Prompt for Overwrite Confirmation when Saving - sagam12 - 06-10-2011

hey nice script and demo but the actual save script doesnt work :(


RE: Prompt for Overwrite Confirmation when Saving - DerVVulfman - 06-11-2011

The demo includes scripts for both this and the 'Unlimited Save Files' script. They do not work togeher, so this script has =begin and =end tags around it... making it disabled. The script will work if you remove those tags, and disable the Unlimited Saves script that is placed below it.


RE: Prompt for Overwrite Confirmation when Saving - sagam12 - 06-11-2011

thanks again, i will try that out, would of been good if you could use both save scripts together but i think im going with the prompt for overwrite script :)


RE: Prompt for Overwrite Confirmation when Saving - Designer - 04-09-2016

I'm making a game in RPG Maker XP and I started looking for scripts. This script works but the prompt window stays on screen after confirming overwrite and doesn't disappear until I back out of the menu fully. Can someone fix the code so the prompt window disappears right after the player chooses "yes" to overwrite at the save screen?


RE: Prompt for Overwrite Confirmation when Saving - DerVVulfman - 04-10-2016

I tested the demo I crafted, deleted every script from it to leave just the menu itself, and even tested the copy of the script in the first post in a blank script. What I see is that the whole screen does in fact disappear when you hit YES on the confirmation, thus erasing the confirmation window. And when you hit NO, the confirmation again disappears while you remain in the save screen.

But the script overwrites methods in the Scene_Save script... an issue that many default scripts have where the update methods were not broken into smaller bitesize chunks. If you are trying to combine it with 'another' script, I can see the issue. But that would be a request in Code Support board, including the name of the script of which you are attempting to combine.