Check if game has an specific savefile.

● ARCHIVED · READ-ONLY
Started by Pixelent Games 3 posts View original ↗
  1. TL;DR: Can DataManager.isAnySavefileExists() check ONLY if one specific file exists?



    Hi, I was working with this script call to add a "Overwrite file?" option in case you started a new game in a saved file:

    DataManager.isAnySavefileExists()

    I have 2 files and to test this, my file 1 options has a "file1.rpgsave" in my game folder that pops up the new event, but when I move to my file 2 page/variable/option, it pops up the "Overwrite file" even though there's no a "file2.rpgsave" in my game folder. I even add a number at the end of the script call but it doesn't seem to work, does the script checks if "any file exists" just like the name, regardless of the number I add?

    DataManager.isAnySavefileExists(1) DataManager.isAnySavefileExists(2) (Both as conditions in different tabs of my event)

    I added numbers at the end of the script but it's still the same, any thoughts? Should I use another script call instead?

    If you need pictures of my event, I'll post it up.

    AP
  2. Try this function

    StorageManager.exists(index)
  3. Wow that was fast and worked! Thanks:D

    AP