Waypoints

In this chapter, waypoints represent the points that bots navigate to. We will make additional changes to our waypoints to limit who can traverse these points. This will be established by creating an array of actors on individual waypoints. When the pawns go to access the list of available waypoints, they will only add the waypoints they're allowed to. Here are the steps to perform for this:

  1. Start in the same Blueprint folder as before. Right-click on it and create a new blueprint. Go to Custom Classes and select the Target Point actor. We will use this for the sprite it provides.
  2. Name this new Target Point subclass Waypoint and hit Okay.
  3. Open our new Waypoint custom blueprint and create a new public ThirdPersonCharacter pawn array variable ...

Get Unreal Engine 4 AI Programming Essentials 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.