Adding a Second AI Character
Adding a Second AI Character
With the same procedures you used to place the first AI character, you can place a second enemy AI that takes a slightly different path as it patrols the maze.
To add a second AI character
In the Entity Outliner, select and right-click AiSpawnpoint01. Choose Duplicate. Name the duplicated spawn point Spawnpoint02.
In the viewport, move the new spawn point to a location near the L shape of your waypoints, as shown in the following image.
Create three new entities to use as waypoints. Name them Waypoint04, Waypoint05, and Waypoint06.
In the Entity Outliner, select Spawnpoint02.
In the Entity Inspector, in the Waypoints component, clear all the existing waypoints by clicking the square icon next to the Waypoints setting.
Next to Waypoints, click the + icon. Add the following waypoints in this sequence:
- Waypoint04
- Waypoint05
- Waypoint06
- Waypoint05
Press Ctrl+S to save your level.