Chapter 5. Making Moving Enemies with AI

In this chapter, we'll be adding additional challenge to our gameplay by making enemies that pose a threat to the player. To do so, we'll leave behind our target cylinders in favor of enemies that have AI behavior. We want to set up enemies that have the potential to pose a threat to the player and are capable of analyzing the world around them in order to make decisions. To accomplish this, you are going to learn about Unreal Engine 4's built-in tools for handling AI behavior and how those tools interact with our Blueprint scripting. In this process, we will accomplish the following goals:

  • Constructing an AI that is capable of decision-making using a Behavior Tree, a Blackboard, and an AI Controller
  • Creating ...

Get Blueprints Visual Scripting for Unreal Engine now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.