Week 4


I have created functioning AI Roam and AI Patrol scripts

The AI Patrol script works by having an NPC move randomly between Patrol points that have been placed into the map itself, there is no max size for patrol points per NPC, the NPC movement speed and wait time at each patrol point is changeable from the inspector

The AI Roam script works by having the NPC move randomly between a given X,Y,Z value, same as the patrol script the NPC movement speed and wait time at each random location is changeable from the inspector.

Took 2 hours

Tutorial used: https://www.youtube.com/watch?v=8eWbSN2T8TE

Leave a comment

Log in with itch.io to leave a comment.