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

#11185
Gavalakis
Keymaster

Hey,

Glad to hear you were able to customize the FSM to your requirements 🙂

Probably the best way to handle this, would be to actually set the “Start” state before starting the FSM behaviour.
This can easily be done so by setting the ‘FSM.primeNode’ property to the ‘FSMState’ you want to become the Starting state. After that is done, you can safely instruct the GraphOwner to start the FSM behaviour and you can also disregard step 4 as well since the FSM will start from the desired state you want to already 🙂

Please let me know if that works for you.
Thanks.

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