Get YouTube subscribers that watch and like your videos
Get Free YouTube Subscribers, Views and Likes

Smart Enemy AI | (Part 2: Patrolling u0026 States) | Tutorial in Unreal Engine 5 (UE5)

Follow
Ali Elzoheiry

In this Unreal Engine Game development Tutorial you will learn the following:
Patrolling: How to make an enemy AI patrol along a spline
States: How to switch between different states in behavior trees
Priority: How priority works in behaviour trees and how to abort low priority tasks for higher priority ones
Animation Montages: How to setup montages and montage notifies to trigger certain actions

Link to my Patreon (Thank you for your support)
  / alizoh  

Link to part 1 of the "Smart Enemy AI" tutorial:
   • Smart Enemy AI | (Part 1: Behavior Tr...  

Link to the "Damage System" tutorial:
   • How to Build a Combat Damage System |...  

Link to the "Projectile System" tutorial:
   • How to Shoot Projectiles | Unreal Eng...  

Link to my "AOE Damage & Healing" tutorial:
   • How to do AOE damage and healing | Un...  

About me:
I've been learning game development for over a year now, I do have a background in software engineering, but I've always wanted to create my own game.

I am currently working on this 3rd person action adventure game as a hobby, but I am also trying to build a community, thus I am creating YouTube tutorials to find others who are interested in game development and design.

If you are interested in learning more or if you are interested in working together, please let me know in the comments.

Join my Discord server to chat and mingle with the community
  / discord  

If you would like to support me on Patreon, you will get access to all the source code from every video I post as well as any custom assets that I create. Also I would be forever thankful to my early adopters
  / alizoh  

Checkout my other tutorials on my channel:
   / @alielzoheiry  

Chapters:
00:00 Outcome of this part
01:07 Assets used
01:56 Creating the PatrolRoute actor
07:48 Assign the PatrolRoute to the Enemy
08:53 Creating a Task to Move Along Patrol Route
10:11 Enemy AI Interface
12:06 Implementing the task MoveAlongPatrolRoute
13:56 Updating the Behavior Tree
14:33 Testing the patrol behavior
15:27 Modify Enemy Movement
23:08 Idle when not patrolling
25:19 Switching between States
28:40 Using Blackboard decorators
30:04 Testing Switching Between States
34:18 Aborting Behavior Tree Tasks
38:01 Sheath Sword Animation Montage
43:13 Sheath Sword Task
44:24 Updating Behavior Tree
48:13 Final Outcome
48:34 Next Up in Part 3

#unrealengine #unrealengine5 #ue5 #gamedev #smart #enemy #combat #AI #blueprint #tutorial #behavior #tree #patrol #patrolling #state

posted by betoken4x