XaiJu
CodeLikeMe
CodeLikeMe

patreon


Advanced Locomotion System #19 - Enemy AI patrol

In this episode of the unreal engine advanced locomotion series, I am going to continue with the AI system of the enemy NPC characters. Here, we will add a new variation of NPC AI who has a pre-defined patrol path. Using a spline, we will be able to define the patrol path for each AI character in the level and they will be patrolling along that route indefinitely unless the player makes any distractions. If they hear a sound or spot another enemy, they will stop patrolling and go into fight mode. But if the player manages to break the line of sight and escape, they will again return to normal patrolling behavior and continue. All the behaviors will be handled through the AI behavior tree.

Advanced locomotion system: https://www.unrealengine.com/marketplace/en-US/product/advanced-locomotion-system-v1

CodeLikeMe Third-Person shooter series: https://www.youtube.com/playlist?list=PLKLABJGyKV-CmWAXXeuUTer0iI0kSG1W4

.

project files

https://www.patreon.com/posts/63654325

Advanced Locomotion System #19 - Enemy AI patrol

More Creators