The name says it all, I want a slot that I can make the game automatically save into without begging the player to do so. It doesn't need to necessarily be a traditional autosave slot - I just want the game to save at certain moments of my choosing. Does anyone know a way to do this? I'm assuming it will need some scripting.
Autosave Slot?
RPG Maker VXAce SupportThe script call is
Replace index with index of your save slot. Not sure if it starts from 0 or 1 though.
However, the slot is not exclusive.
Code:
DataManager.save_game(index)
However, the slot is not exclusive.
Thanks @TheoAllen for the quick reply! It seems to work, which is great.
If anyone knows how to prevent saving in a certain slot, I'd be glad to hear.
If anyone knows how to prevent saving in a certain slot, I'd be glad to hear.
To lock the save slot access for file 1. (under Modules) DataManager, starts at line 134:
Code:
#--------------------------------------------------------------------------
# * Execute Save
#--------------------------------------------------------------------------
def self.save_game(index)
begin
return if index == 0
save_game_without_rescue(index)
rescue
delete_save_file(index)
false
end
end
@tv.ghost, this works great, thanks!
EDIT: I just realized this prevents autosaving from working either... I guess I'll just have to deal with it.
EDIT: I just realized this prevents autosaving from working either... I guess I'll just have to deal with it.
Original thread: https://forums.rpgmakerweb.com/threads/autosave-slot.97124/