Hi
It is a playmaker user using Easy Save.
I need to store lots of float data.
1. So I want to save it all at once.
Here is what I used before:
Do I have to save one by one?
2. And the password is the same every time, where can I change it?
3. And If I do not have a file when I first load it, I get an error. What should I do?
I can not create a file first.
I can not pre-create the file because the save file is not in the first place.
I am short of English, so please give an easy explanation.
Is it a way to store multiple save?
Re: Is it a way to store multiple save?
Hi there,
If you want to save multiple values at once, you should put it into an array and save that.
You can change the default password in Assets > Easy Save 2 > Settings > Default Settings.
If you're not sure a file or tag is going to exist, you should use the Exists action to check whether it exists before loading from it.
All the best,
Joel
If you want to save multiple values at once, you should put it into an array and save that.
You can change the default password in Assets > Easy Save 2 > Settings > Default Settings.
If you're not sure a file or tag is going to exist, you should use the Exists action to check whether it exists before loading from it.
All the best,
Joel
Re: Is it a way to store multiple save?
Hi, I tried but.. it's not working.
The password is not changed.
https://youtu.be/1SBBDu0bzPI
And is there any sample arrary data?
I do not know what to do.
How can I put variables in data.
The password is not changed.
https://youtu.be/1SBBDu0bzPI
And is there any sample arrary data?
I do not know what to do.
How can I put variables in data.
Re: Is it a way to store multiple save?
Very strange that the password isn't changing for you, as it appears to be working at our end.
In this case the easiest way would be to open Assets/PlayMaker/Actions/ES2PlayMaker.cs and find this line on line 23 and line 32:
Instead you might want to use the Save All and Load All, which attempt to save and load all variables in the variable list of your FSM.
All the best,
Joel
In this case the easiest way would be to open Assets/PlayMaker/Actions/ES2PlayMaker.cs and find this line on line 23 and line 32:
public FsmString encryptionPassword = ES2GlobalSettings.defaultEncryptionPassword;And replace it with this (using your own password):
public FsmString encryptionPassword = "myPassword";With regards to what you require, it looks like you require a Dictionary rather than an array, which PlayMaker does not support.
Instead you might want to use the Save All and Load All, which attempt to save and load all variables in the variable list of your FSM.
All the best,
Joel
Re: Is it a way to store multiple save?
Thank you. Joel.
But, I can't use Save All...
because I must seperate my save data 4 groubs... It's out of my rule.
I think I must save it one by one...
But, I can't use Save All...
because I must seperate my save data 4 groubs... It's out of my rule.
I think I must save it one by one...
Re: Is it a way to store multiple save?
Hi there,
In that case it will indeed be necessary to save them one by one.
All the best,
Joel
In that case it will indeed be necessary to save them one by one.
All the best,
Joel