check if a save was loaded?

Discussion and help for Easy Save 3
Post Reply
lockhighjumpingvenus
Posts: 7
Joined: Wed Oct 11, 2023 9:52 pm

check if a save was loaded?

Post by lockhighjumpingvenus »

Is there a built in method to check if a save was loaded. I have some scripts that create data structures/buttons etc at runtime. I dont want these to be created new everytime the game runs if there is a save file being loaded. So I am wondering is there is a built in method to determine if a save file was loaded.
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: check if a save was loaded?

Post by Joel »

Hi there,

You can check whether a save file exists or a key exists using ES3.FileExists or ES3.KeyExists. If the data exists and you're trying to load it, then you know the data was loaded after your ES3.Load call.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply