AngryAnt/Behave-release — Issue #30: InitAction not being called after reset
Author: ricardojmendez
Created: 2011-10-17 19:50:27+00:00
State: open

I have a behavior tree on Behave 1.3.1 where Behave might be called in the middle of a Move action (since it might be interrupted by the agent being attacked). What should happen is that the creature gets stunned, which invokes a behaviorTree.Reset(), and it should eventually move again. However, the time that Move is ticked after the Reset() the init is *not* called as it should, so it skips any initialization that you were doing.