Jump to content

Handling Save/Quit for Behaviours?


parityb1t

Recommended Posts

Hi,

I wanted to ask about handling Save->Quit->Load for behaviours as I'm running into an unexpected error.

I created a custom root behaviour node (so same level as SequenceNode or PriorityNode), but when I save and quit, then load up the game again, the custom node is only visited exactly once, not continuously as it did in the first run of the same game.

Have anyone ran into a similar situation before? would appreciate some insight :)

Link to comment
Share on other sites

never mind. just me being silly. I didn't set the status to RUNNING so behaviour was only ran once. Save/Quit/Load had nothing to do with it, the first run was just pure luck it hit a branch that did set RUNNING, the second time it did not.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...