Page cover

Patrolling

The Enemy AI - Toolkit comes with an integrated patrol system. This section provides an overview of the patrol system, with more technical information available on the sub-pages.


Overview

The core of this system is the patrol route. It defines the position and direction of the individual patrol points. Enemies can be assigned to the patrol route through the reference set in the Enemy Character Base or in the characters that inherit from it. This section provides technical information on the patrol system and its sub-pages elaborate on this.


Quick Setup

Setting up patrol routes is straightforward. Simply place the Patrol Route Actor in your scene. Once placed, you can create and drag spline points to mark your patrol locations. If you are unfamiliar with splines in Unreal Engine, we recommend reading this documentation.

Make sure you don't forget to assign the patrol route to the enemy character. If you want to reverse the direction, you can do so through the 'direction' property of the route actor in your level.

Last updated