Playmaker Forum

Playmaker Help & Tips => Playmaker Help => Topic started by: jz87 on November 21, 2012, 05:04:24 AM

Title: Serializing FSMs?
Post by: jz87 on November 21, 2012, 05:04:24 AM
I'm implementing unit actions that take place over time with FSMs and I would like to be able to include unfinished actions in the save game file. Is there a way to serialize the state of FSM so that when the game is reloaded the FSM gets reloaded to the exact state and avoid re-executing actions in that state that have already finished?
Title: Re: Serializing FSMs?
Post by: shinodan on November 21, 2012, 05:09:42 AM
This works really well for me, super simple too.

http://whydoidoit.com/unityserializer/ (http://whydoidoit.com/unityserializer/)
Title: Re: Serializing FSMs?
Post by: shinodan on November 21, 2012, 05:18:22 AM
Should have mentioned that the website has serializer actions for playmaker.
Thats why its a breeze :D