Reply To: Serializing current execution state

NodeCanvas Forums General Discussion Serializing current execution state Reply To: Serializing current execution state

#12252
Gavalakis
Keymaster

Hello,

There is no way to save the exact point and state of execution at any given time in either of the systems, but you can of course save the blackboard variables that they use.
For FSM, like you said, you can also save the currentState.
Behaviour Trees, should be designed in a way to be able to recreate the execution state based on the conditions and variables the tree is using.
Flowscripts on the other hand, since they are event-based, their execution state is mostly temporary and lasts for as long as the event flow signal lasts. In other words, flowscripts don’t practically have any execution state which we can store since all non temporary data are stored in the variables that it is using instead (which we can serialize independently).

Let me know what you think.
Thanks!

Join us on Discord: https://discord.gg/97q2Rjh