- Joined
- Jul 18, 2014
- Messages
- 222
- Reaction score
- 13
- First Language
- English
- Primarily Uses
- RMMV
Hello, I am curious to learn some scripting behind this feature. I am aware Hudell has an autosave script that I'm going to use, but I would like to know if there was a solution to my exploration before finding Hudell's script.
I learnt that the following code (3 being the save ID) saves the current gameplay to that save slot.
◆Script:$gameSystem.onBeforeSave();
: :DataManager.saveGame(3);
However, I do not know how to adjust the save ID to that of the currently playing file. I came across:
DataManager::last_savefile_index
But haven't been able to use that. If I can figure out how to obtain the save ID currently being used (or last loaded), I think I would be able to do this without Hudell's script.
I learnt that the following code (3 being the save ID) saves the current gameplay to that save slot.
◆Script:$gameSystem.onBeforeSave();
: :DataManager.saveGame(3);
However, I do not know how to adjust the save ID to that of the currently playing file. I came across:
DataManager::last_savefile_index
But haven't been able to use that. If I can figure out how to obtain the save ID currently being used (or last loaded), I think I would be able to do this without Hudell's script.
