Reply To: BT sequence of actions that starts&restarts when receiving a specific Event

NodeCanvas Forums Support BT sequence of actions that starts&restarts when receiving a specific Event Reply To: BT sequence of actions that starts&restarts when receiving a specific Event

#12395
timv
Participant

I tried making the Reset node, but it’s not working as expected. This is the code that I have:

See the attached image for my current BT-test setup. The root node is this new Reset node that I made.

The Log actions execute normally when I fire the very first event. The log action tasks also get interrupted and restarted as intended if I fire events before the actions finish.

However, if I wait for the action node to finish, the next event will trigger only the “On” message, and interrupt the action node immediately, or so it seems. Is there anything wrong with my code?

Attachments:
  1. reset_example.png