This is my first post on this site, so sorry if this is the wrong section.
In my game, I only want there to be one game file. I am getting rid of the save / load menus, and instead I want to use events where a player can either save to Game File 0 or load Game File 0. How can I do this with a script?
For loading, I tried StorageManager.loadFromLocalFile(0) but it does nothing.
So I guess there's 2 things I need help with:
1. Script call to save to Game File 0
2. Script call to load to Game File 0
Any help appreciated!
Simple Script Call Help
● ARCHIVED · READ-ONLY
-
-
I think you will need a plugin to do this, in which case this thread should be in Plugin Requests. However, we'll wait and see what replies are posted in case I am wrong. If people say you need a plugin, please Report this post and ask for the thread to be moved.
Thanks. -
Code:
DataManager.isAnySavefileExists(); DataManager.latestSavefileId(); DataManager.saveGame( fileID ); DataManager.loadGame( fileID );
Those should be enough :) -
I wrote some sample script calls here that are meant to be used in events:
https://forums.rpgmakerweb.com/index.php?threads/js-snippets-thread.92501/#post-855370 -
Thank you for the responses! I got it working now. Awesome community!