Reply To: How to start FSM with custom prime state

NodeCanvas Forums Support How to start FSM with custom prime state Reply To: How to start FSM with custom prime state

#11189
zsoik
Participant

That actually works pretty well for the main state machine – but I can’t get it to work with nested FSM nodes. The nested FSM node needs to be entered before I can access the runtime instance of the FSM – when I change the prime node on the referenced Prefab before the node runs, the prime node will change for all other instances, too. And additionally – wouldn’t changing the prime node of a nested state machine persist when the nested node is entered again? So the nested FSM would have changed its behaviour overall because it will start on the wrong node on subsequent runs.

I guess the easiest way will be too keep my original behaviour and just enforce the prime nodes to be neutral for all FSMs, so the small enter glitch won’t have any effect, or do I miss something?