Tips/Help on improving this tree?

insane245

New member
Hi all, I'm working on an FPS AI. I'm trying to start basic but I'm having trouble grasping a few things and would love some help. it goes like this:

  1. AI sees me
  2. AI finds cover and changes destination
  3. Once 1 meter away from cover, changes animation to crouched
  4. Aims , rotates towards me, and shoots.
My issue is that I think I'm messing up the conditional aborts because once it arrives at cover the AI just stops. And for determining if the AI has reached the cover system it seems really complex for a simple comparison.

If you have any tips for me to help understand this better and improve it would really help. Thanks!

oPSIVE.PNG
 
In some of your branches you don't have any conditional tasks so the conditional abort won't work. You also don't need a conditional abort on that top Sequence task as it's not doing anything. The top Selector is also unnecessary since there is only one child.

For a good tree structure I recommend taking a look at the page below. In that the AI can also take cover.

 
Top