Jump to content

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 :)

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...