Page 1 of 1

Cannot load before saved on first launch

Posted: Tue May 24, 2022 5:40 pm
by Zandan
Hello,

I'm stuck in Catch 22 here.
I use Playmaker and before I load arrays and variables I need to save first, so keys from where to load to be created, otherwise an error is thrown for missing save.
However when I do that the game always saves all the information before it's loaded, saves get basically replaced by the default values and when a load is called it loads the previously saved default data.

May be I'm missing a core save-load principle, but how to load and array that was previously saved and bypass that obligatory first save state when the game is launched for second, third, etc time?

Thank you.

Re: Cannot load before saved on first launch

Posted: Tue May 24, 2022 9:13 pm
by Joel
Hi there,

If you’re unsure whether data will exist before loading, you should use the File Exists action to check before loading.

All the best,
Joel