Why is my AI only patrolling and not detecting the player?
I'm trying to setup some simple AI, so I followed this tutorial: https://www.youtube.com/watch?v=VAAHKNoIg0w∈dex=1&list=PLV0qBSMhzPz4-x3bYt2q01c2PjXmUl1eX
But my AI is only patrolling, it never seems to find the player..
Inside my BTS Detect Enemies blueprint it never active attack/chase..
The first screenshot the player is in front of the AI.. Second is when AI patrols..
Can anyone help me?
IT seems that the enemy detection is breaking on reading "enemy actor" key value from the blackboard. Do you set this BB key value somewhere?
As a side node, you can always put a break point on any blueprint node, and once the execution breaks on that node mouse over pins to read their current values.
Let me know if you have any more questions.
answered Aug 04 '14 at 04:02 PM
I followed the same tutorial and had some issues myself. When I started, I had never seen, much less used, a behavior tree before. I did manage to get enough out of the tutorial that I was able to rework a good bit of it, and I got a working setup now. I can't guarantee this will work for you, or that it's even the right way, but it works... I made some screenshots, but I'm not sure how many I can attach to a post, so this may be multiple posts :)
hmmm.... seems I can't post pics at the moment :( I'll keep trying... In the meantime, I created a zip of the screenshots and put them on my dropbox: BehaviorTreeService.zip
Hey Guys Whats Up,
I'm including the updated A.I. Project from the tutorial above here for you. It also includes Owen shooting.
answered Aug 05 '14 at 05:28 AM
answered Aug 06 '14 at 09:55 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here