Reply To: Feature Request: OnEnter / OnExit behaviors for Nested BTs / FSMs

NodeCanvas Forums Support Feature Request: OnEnter / OnExit behaviors for Nested BTs / FSMs Reply To: Feature Request: OnEnter / OnExit behaviors for Nested BTs / FSMs

#14565
zornor90
Participant

Hey so basically what I mean is that let’s say I have a FSM with a few nodes. One of the nodes is a sub behavior tree. When that node is entered in the parent FSM, I’d like to call some OnEnter behaviors. And then when that node is exited, I’d like to call some OnExit behaviors. Currently, I’d have to create a separate node before and after the subtree with the behaviors I want, and that also might cause issues if the subtree is exited by an any state being called, meaning the OnExit node is never reached

Sorry for the late response, please let me know if you need further clarification!