how to make a save button

hey there
I want to add a save button to my game. I created the button itself using the built-in buttonPicture plugin, but I don't know how to implement the save process itself, because I don't want to call up the save menu

Just a button that saves

Please help ;_;
Hi @irisha-BOOMBOX

I'm not sure if it's just me, but I don't quite understand your request:
You want the game to save, but without opening the save menu, is that right?
Which file should the save be made to? Does the player have a choice of save file?

Please describe in detail what you want to happen when the player clicks on the image.

In any case, if you want the game to save without asking the player:
use a script call in an event and paste :
Code:
DataManager.saveGame(X);
replace X with the number of the save file you want to use.
As an addition, when you don't know X, you can try this approach so the game attempts to pick the saveslot ID automatically.

Code:
DataManager.saveGame($gameSystem.savefileId())
I think I will only use one file for saving

Anyway, thank you very much for your help 👍
thank-you-sweetheart.gif

Hi @irisha-BOOMBOX

I'm not sure if it's just me, but I don't quite understand your request:
You want the game to save, but without opening the save menu, is that right?
Which file should the save be made to? Does the player have a choice of save file?

Please describe in detail what you want to happen when the player clicks on the image.

In any case, if you want the game to save without asking the player:
use a script call in an event and paste :
Code:
DataManager.saveGame(X);
replace X with the number of the save file you want to use.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-save-button.179552/