CHECKING FOR SAVE FILES IN EVENTS? (VX)
Posts
Pages:
1
Using the "Script" condition in a conditional branch, can you make the game check if there's at least one save file in a VX game's Save folder? If so, what is the script call that goes in the box?
It's for my game's title screen, which is evented. Currently, the choice menu always starts at New Game, but I want it to go to Load Game when the condition's script call is true, in which case I'd just need to simply increase a variable. But anyway, hopefully this is possible because starting a new game on accident is annoying as hell, haha
It's for my game's title screen, which is evented. Currently, the choice menu always starts at New Game, but I want it to go to Load Game when the condition's script call is true, in which case I'd just need to simply increase a variable. But anyway, hopefully this is possible because starting a new game on accident is annoying as hell, haha
author=Melkino
If so, what is the script call that goes in the box?
"DataManager.save_file_exists?"
Try and see if this works.
#--------------------------------------------------------------------------
# * Determine if Continue is Enabled
#--------------------------------------------------------------------------
def check_continue
@continue_enabled = (Dir.glob('Save*.rvdata').size > 0)
end
This is what checks whether or not the continue option is enabled in Scene_Title. You might not be able to copy/paste that directly, but it should help.
# * Determine if Continue is Enabled
#--------------------------------------------------------------------------
def check_continue
@continue_enabled = (Dir.glob('Save*.rvdata').size > 0)
end
This is what checks whether or not the continue option is enabled in Scene_Title. You might not be able to copy/paste that directly, but it should help.
Pages:
1