Hi guys. I am working on a top down shooter game. As a hobby mostly. I Am trying to program basic enemy ai and having a few problems. I searched the forums but cant seem to find exactly what I am looking for.
What I would like to do:
-When my character gets with a certain distance from the zombie characters. I would like them to turn and chase my character.
Alot like diablo enemies. They will wander within there parameters until the player gets within a certain range.
I have set up pathfinding. And when the layout starts the zombies will chase my character around the map. However all zombies that are on the map are chasing. And i would like it to just be zombies near by. Any help would be appreciated.
What i pretty much have