EDIT: Read the second post, this was obsolete atm. Or atleast I guess. Thanks for your help
Hello again. I just started with the AI and, after follow all tutorials here https://docs.unrealengine.com/latest/INT/Engine/AI/BehaviorTrees/QuickStart/ I still have problems to understand how the BehaviorTree works.
What I want to do is a simple enemy choose a random Pawn and follow him. And every x seconds (service Aggro_Check) he think to change his target. I managed to do it without a BehaviorTree but, ofc, I will need a BehaviorTree soon (to check range with players, attacks, etc etc).
Well, my problem isn’t really making he choose a target and follow him. My problem is understand how the BehaviorTree work really and know how to work with it in order to do what I want. I mean, if I find the way to do what I want knowing exactly what I wanted to do then it will be easier to understand futures BehaviorTrees.
This is my BehaviorTree that don’t work (ofc :3) .
What I am doing wrong?
BTW, I noticed that the animation isn’t showing up never, am I missing something?
Thanks so much!!
This is the behavior tree now. I musted do a task for the follow because “move to” was infinite until catch his target and I wanted that he decide change the objetive even in middle.
Well, the problem now is that the “play animation” only happen the first time, I guess I am missing something understanding the sequence node.
Btw, these are my codes, just in case that you can say me a tip or if I am doing something wrong: