Delete Save

So basically, I'm making a game with multiple paths, just like Undertale. I want it so that when you get to the end of one of the paths, it deletes your save file. Can I do this?
To erase Save File through script call-
Code:
StorageManager.remove(index);
index = save id

Or plugin: https://forums.rpgmakerweb.com/inde...by-events-ect-rpg-maker-mv.88607/#post-807083
The answer to your question is "yes, it is possible", the question you should ask yourself though is:
"Why do you want to delete it?"

The only reason I can see is that of forcing the player to replay the whole game to be able to see a different ending. If that is the case, I can see two different situations:
  1. Your game is good and replaying it is a nice experience;
  2. Your game is mediocre and replaying it is not a very nice experience and it is quite boring.
In case 1 the player will naturally play your game once again from the very beginning to see what happens when making different choices and there is no need to delete the saved data. In case 2 you would be forcing the player to do something boring and, instead of doing it, you should focus on making replaying your game more enjoyable.

After all, once your data is saved, there is nothing preventing the player from making backup saves if replaying your game is not an enjoyable experience. This is why, even if it is possible, I would strongly recommend to avoid resorting to such a thing.

In the end, these two questions are my main point:
"Do you like when people tell you what to do in your free time? If you do not, why would the player enjoy you telling him or her to replay your game?"
The answer to your question is "yes, it is possible", the question you should ask yourself though is:
"Why do you want to delete it?"

I want to give the player the idea that they are no longer the one in control of their own save file, that someone else, some kind of self-aware entity in the game, is.

You know how in Undertale, after the genocide ending, Chara deletes your save and the world you destroyed? I want it to kinda simulate that.
@AcousticJamm I did not take that possibility into account. If that is the reason just go for it, the code that tale wrote above should do the trick.
@AcousticJamm I did not take that possibility into account. If that is the reason just go for it, the code that tale wrote above should do the trick.
To erase Save File through script call-
Code:
StorageManager.remove(index);
index = save id

Or plugin: https://forums.rpgmakerweb.com/inde...by-events-ect-rpg-maker-mv.88607/#post-807083
Yes, that worked. Thanks.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/delete-save.110904/