Wait task returns failure.

Savaghost

New member
BD.png

Hi guys, I'm having trouble with the Wait task. For some reason it is always returning a failure even though it doesn't even have failure in it's code from what I can see.
 
Without seeing your tree executing it's hard to say but my guess is that one of the parent tasks returned failure which causes the wait task to stop. Maybe the conditional evaluator or parallel?
 
I see. I think it's the conditional evaluator since it does return failure a lot. Is there a way to modify the wait tasks script so that it doesn't stop? Animation Play or Pursue for example still play even though the conditional might fail at first. Thanks!
 
You will need to restructure your behavior tree in that situation. It's not the wait task stopping - it's the conditional evaluator that is stopping the branch.
 
Top