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?