Allow me to preface this with, I know how to use scripting to save a game with
I actually do use this to restrict player saving to a save point and a key item (The save point saves to slot 1, the item saves to slot 2. This keeps the game from being unwinnable due to player error.)
I want to implement a checkpoint system into the game where a checkpoint is placed before a boss fight that can end in game over, (therefore skipping most of a cutscene and just getting to the fight,) and thus to streamline the process, I need a script call that would allow me to load a save slot (saving the player a few extra key presses by having them answer yes on 'Do you wish to continue?').
On this note, would it also be possible to, via script call, delete a save file?
Thank you for your consideration and your time.
Code:
$gameSystem.onBeforeSave();
DataManager.saveGame(1);
I want to implement a checkpoint system into the game where a checkpoint is placed before a boss fight that can end in game over, (therefore skipping most of a cutscene and just getting to the fight,) and thus to streamline the process, I need a script call that would allow me to load a save slot (saving the player a few extra key presses by having them answer yes on 'Do you wish to continue?').
On this note, would it also be possible to, via script call, delete a save file?
Thank you for your consideration and your time.