Smart Enemy AI | (Part 7: Damage System) | Tutorial in Unreal Engine 5 (UE5)
Ali Elzoheiry · 9,645 words · 48 min read · EN-ORIG

Below is the complete, readable transcript of Smart Enemy AI | (Part 7: Damage System) | Tutorial in Unreal Engine 5 (UE5) by Ali Elzoheiry on YouTube. Read the full text, copy any part you need, or generate a transcript for any video with our free tool.
[music] Welcome back everyone to part seven of our smart enemy AI series. In this part, we're going to be adding a damage system to our enemy AI to allow them to have health and a health bar, to allow them to take damage and damage each other, do hit reactions like you see here.
Like this stagger hit reaction. And allow them to have interruptible non-interruptible states. For example, if he's about to hit with a sword, the melee enemy is not interruptible. And the ranged enemy can of course run away and go heal. Boom! And we are also going to have death effects. It's a nasty way to die.
All right. So, let's get started. All right. So, this is where we left off the last time. We finalized the enemy ranged enemy's core behavior. So, the enemy can now move around us, shoot. We even added some damage. So, if we damage the enemy, they go and heal or they hide and then they heal and come
back. And we also saw two enemies fighting each other. So, we have the melee and the ranged enemy and they can both fight each other. But even though we added some basic health and damage, we don't really have a damage system. There are no hit reactions. They can't kill each other. There's no health bar and so on.
So, now we're going to integrate the damage system component that I created in the previous tutorial and I'll leave the link down in the description. And we're going to add hit reactions. We're going to add damage events, heal events, health and so on. Now, if you haven't checked out my damage system tutorial, you don't need
to know anything about it. You just need some damage system of your own. Or if you're a patron, you can download the full project file for the damage system tutorial from my Patreon for free. [gasps] Um All right. So, let me jump to the damage system project real quick and show you what
Transcribe another video
Paste any YouTube, Instagram or TikTok link to get a free transcript.