Reply To: Add OnFinish to FSMState

NodeCanvas Forums General Discussion Add OnFinish to FSMState Reply To: Add OnFinish to FSMState

#13918
Gavalakis
Keymaster

Hey,

Thanks for letting me know about OnInit. It was actually an error on the documentation/description (fixed).
Regarding a callback when the FSM starts and when the FSM finishes respectively, I have just made a few minor changes for that. You can simply remove the ‘seal’ in the ‘OnGraphStarted’ and ‘OnGraphStopped’ methods in the FSM.cs class and thus use them for your own purposes in your custom derived FSM state nodes.

Please let me know if this change works for you.
Thanks!

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