Can I make a "save success" or a "save canceled" etc. message?

1734542728271.png

I'm using an in game save point called a Nexus in my game. With the current event, whether or not the player saves, or renames, or loads, or does nothing, after closing the save window, no text is said. I could put a text box below the open save screen event but that text would appear after any of the possible save actions happens. I want to make specific text boxes for specific events such as "save successful!" or "save canceled." How can I do that? Is there some kindof onSaveSuccess variable I can use in a conditional somewhere?

Side question, is it possible to disable renaming and loading for the Nexus save points only, while retaining that functionality in the title page version of the save screen?
You could store the Save Count prior to saving, then check it afterwards to see if it increased:
  • Control Variables -> Set -> Game Data -> Other -> Save Count.
  • Open Save Menu.
  • Control Variables -> Sub -> Game Data -> Other -> Save Count.
  • Conditional Branch -> Variable < 0:
    • Show Text: Game saved!
    Else:
    • Show Text: Game not saved.

Side question, is it possible to disable renaming and loading for the Nexus save points only, while retaining that functionality in the title page version of the save screen?
By default the only way to load a save is from the title screen's Continue command, and there's no such thing as "renaming" a save file (?). You'd need to specify the relevant plugin(s) in that case.

Edit - also, since you mention a save point event, you may find this relevant:
You can track load/save for a save point by storing a value on a game object that is initialised on new/load game, but not included in save data. A good example is $gameTemp.

E.g. you could use a script call like this, before saving:
JavaScript:
$gameTemp.showPostSaveMessage = true;
Then put the stuff after it in a Conditional Branch -> Script:
JavaScript:
$gameTemp.showPostSaveMessage
I.e. "is that value truthy?" That should be true if you've just saved, but false if you've just loaded the save.
@caethyril instead of show text, why not "commandeer" the map name window?
it should be a simple ping, to an object that rarely is used, and is not the main object used for dialog.
@caethyril instead of show text, why not "commandeer" the map name window?
The Show Text commands were just placeholders based on the OP:
I want to make specific text boxes for specific events such as "save successful!" or "save canceled."
It'd be easy enough to replace it with something else.

Personally I don't think I'd try to use the map name window for this...a "gab window" plugin or simple Show/Move Picture commands seem a better bet for non-interrupting messages. You do you, though~
You could store the Save Count prior to saving, then check it afterwards to see if it increased:
  • Control Variables -> Set -> Game Data -> Other -> Save Count.
  • Open Save Menu.
  • Control Variables -> Sub -> Game Data -> Other -> Save Count.
  • Conditional Branch -> Variable < 0:
    • Show Text: Game saved!
    Else:
    • Show Text: Game not saved.


By default the only way to load a save is from the title screen's Continue command, and there's no such thing as "renaming" a save file (?). You'd need to specify the relevant plugin(s) in that case.

Edit - also, since you mention a save point event, you may find this relevant:
This worked but I've ran into a really strange error. Whenever I load the saved savefile from the title screen, the first thing that happens is the text box "Save successful." automatically pops up without any explanation...
Whenever I load the saved savefile from the title screen, the first thing that happens is the text box "Save successful." automatically pops up
Yes. It's because when you load the save, it continues the event where it left off: the command right after Open Save Menu.

As mentioned in the quote at the end of my first reply, you can get around that like this:
  • Control Variables -> Set -> Game Data -> Other -> Save Count.
  • Script: $gameTemp.showPostSaveMessage = true;
  • Open Save Menu.
  • Conditional Branch -> Script: $gameTemp.showPostSaveMessage
    • Control Variables -> Sub -> Game Data -> Other -> Save Count.
    • Conditional Branch -> Variable < 0:
      • Show Text: Game saved!
      Else:
      • Show Text: Game not saved.
    Else:
    • Show Text: Game loaded!
This works because $gameTemp is not saved, and resets on new/load game. 👋

Original thread: https://forums.rpgmakerweb.com/threads/can-i-make-a-save-success-or-a-save-canceled-etc-message.173999/