ES3 File Reference

Discussion and help for Easy Save 3
Post Reply
mdeim
Posts: 27
Joined: Sat May 09, 2020 7:31 pm

ES3 File Reference

Post by mdeim »

Hi Joel,

Is it possible to save a reference to ES3 the way I can with an ES3File?

Currently, I can do this with a cache file ie:

Code: Select all

ES3File Cache = new ES3File();
I want to be able to do that with the storage file too for the purpose of it saving the save file I'm pointing to, so I can just call:

Code: Select all

MyStorageFile.Save("itemIwantToSave", "Item Value")
Currently, since I have multiple save files in my game, I need to pass the save path so every time I have to do

Code: Select all

ES3.Save("ItemIwantToSave", "ItemValue", SavePathFile)
Please let me know if I'm missing something, thank you!

Thanks! ^_ ^
User avatar
Joel
Moodkie Staff
Posts: 4824
Joined: Wed Nov 07, 2012 10:32 pm

Re: ES3 File Reference

Post by Joel »

Hi there,

You can change the default save path at runtime using the following:

Code: Select all

ES3Settings.defaultSettings.path = NewSavePath;
Otherwise it's not possible because ES3.Save/Load is static.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
mdeim
Posts: 27
Joined: Sat May 09, 2020 7:31 pm

Re: ES3 File Reference

Post by mdeim »

Ah ok, thank you.

Then in my case, since I have my multiple save files, unless I change the default path each time I guess it's not possible. Thank you!
Post Reply