AI / Enemies

Unreal Engine 4 enemy / AI-related tutorials

jack walsh

UE4 Tutorial | Spawn Waves of Enemies in Increasing Numbers

In this Unreal Engine 4 tutorial, we’ll look at one way you can spawn enemies in waves, and increase the number of enemies each round plus how quickly each enemy spawns. (Check the tutorial under this one to create an enemy that follows the Player.)

Enemy Follow + Kill Player | Player Kill Enemy

NOTE: This tutorial replaces the two underneath it, as it is more effective and functionable. However, as the other two use a different approach, they might still be of interest to some.

In this tutorial we’ll look at how to use Pawn Sensing in order to make the enemy sense and follow the Player. We’ll also make the enemy kill the Player, and give the Player the ability to shoot and kill the enemy.

The mesh I’m using in the video is a free download you can get if you want to follow along with the tutorial. Get it in the Downloadable Content section.

Enemy AI Follow and Kill Player + Reload Level

In this tutorial you’ll learn one way (of many, surely) to create a relatively simple, braindead enemy AI that follows the player when triggered, and kills the player and reloads the level.

Reload Level ONLY When the Enemy AI Kills the Player

This is a follow-up of the “Enemy AI Follow and Kill Player + Reload Level”-tutorial above. This time, learn how to ONLY reload the level when the enemy collides with the Player Character – and not when it accidentally touches any of the other objects in the level.

If you would like to be notified whenever I add new tutorials etc. to the site, then simply sign up for the newsletter:


6 Replies to “AI / Enemies”

  1. I created a butterfly in blender and imported it with a fly animation, just two bones connected to a root bone. this tut gave me some ideas but I still don’t know how to use those assets with the blueprints… to cause it to chase me and explode on contact… but flutter around like normal until the player enters its nav-mesh. do you have any ideas on this? thanks …

    • Hi Phil! As of now I don’t know how you could make it explode on contact (other than perhaps use a “Destroy Actor” when it overlaps the Player, and then connect a particle system-explosion). But have you made it follow the Player yet? If not, then I suggest you try the tutorial on top of this page, “Enemy Follow + Kill Player – Player Kill Enemy”. Feel free to use my mesh until you get it working, and then import your butterfly mesh and change it in the enemy blueprint class.

      I’ll look into the explode on contact- and flutter around-suggestions later, and let you know if I figure it out. Likewise, if you figure it out first, then feel free to drop by and share your knowledge 🙂

  2. The video you posted worked great for you, but in my inexperience it failed to move the butterlfy to the player when i entered the trigger voulme. tonight I will attempt again (after work) …. I think I will hang around your site for a while… I hope i can figure it out… i put a animation in the blueprint and it was flaping its wings, it looked cool but it falls to the ground (not exactly flying yet)… I love blender, i have figured out how to import the mesh,skeleton and its animations without the size problems. thanks for replying…type at you later… phil

  3. I don’t even know to do a characters and advanced animation from blender or maya I do’t know how to rig or make meshes i just download and build stuff like spaceships.

Leave a Reply

Your email address will not be published.


five × four =