New to Behavior Trees. Need help with a simple AI scenario

opsai

New member
So, I want an AI that patrols through way points, but when it sees the player it goes into a flee state and keeps fleeing eternally and not bother with patrolling.

But even though this is a simple scenario, I'm unable to think of a way to do it.

I am hoping that some one can give me some hints on how to do it..

Thanks!
 
Take a look at this video which has a really similar setup to what you are going for:

 
Thanks. I watched the video at the beginning, but missed the conditional abort part.
A conditional abort was what my knowledge was missing.
 
Top