I have an adventure game made in Playmaker. In the game I have a lot of FSMs which represent objects the player can interact with. For example, I have a Sprite with a PlaymakerFSM which is a box. It starts unopened, and then when the player taps on it, I change the Sprite to a box open sprite with an item inside, and when the player taps again the item is taken. My FSM represents each of these states.
Right now, we just save when the player has completed the entire scene (we just keep a Int in PlayerPrefs to note how many levels the player has completed). Ideally, we will save the progress of the player every time he takes an action, so if he does not complete the whole scene, he can return to it later.
My question is what's the best way to save all this. I want the player to be able to load the level and see all the objects in the state s/he left them in (so if they opened the box but didn't take the item, it looks like that). As far as I can tell, it's hard to load FSMs in an intermediate state.
We're looking for advice here, but if someone knows how to do this we are also hiring a contractor to implement the system for our project:
https://www.upwork.com/jobs/Save-and-Restore-Intermediate-FSM-States-Playmaker_~017f41263674437436