Setting Default File Path from another scene?

Discussion and help for Easy Save 3
Post Reply
HairlessGorilla
Posts: 5
Joined: Sun May 29, 2022 10:40 am

Setting Default File Path from another scene?

Post by HairlessGorilla »

Is there a way to set the autosaves default file path while in another scene? Or alternatively, make the autosave load a save file from the Runtime Settings' Default File Path?

Thanks.
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: Setting Default File Path from another scene?

Post by Joel »

Hi there,

I've replied to your email regarding this but have included the response below:
An Auto Save Manager is specific to a scene and only exists in a scene, so it's only possible to change the default path of an Auto Save Manager from the scene in which it belongs.

If you want to use the path in runtime settings as your Auto Save path, you can do so with the following code:

Code: Select all

ES3AutoSaveMgr.Current.settings.path = ES3Settings.defaultSettings.path;
All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply