Catch when sequence is interupted by higher priority

Max Nielsen

New member
I have a scenario where I need to reset a shared variable when a sequence is interupted by another higher priority sequence.

My tree is very simple, just a row of sequences, each with a higher priority, but I can't figure out a way to reset a shared variable in a clever way. I do not want to start each sequence by resetting the variable obviously, so instead I want to reset the variable when this sequence is interupted or done. Can it be done?

opsive.PNG
 

Justin

Administrator
Staff member
Starting each branch off with resetting the necessary variables is the correct way to handle this situation for right now. I have some ideas on how to make this more clean but it's a pretty big change so will be included in version 2.
 
Top