Hello, I'm working on zombie npc, which I don't really know what this is called. I'll use image illustration.
Black circle: NPC (info_target entity)
Blue circle: Players
Red border: The view distance of the NPC
Question is how to detect players only inside the view distance? My current code just detects the nearby players around the npc. I want to make the NPC chases (I already knew how to make the NPC moves) the player who is in it's view distance.
Thank you before.
__________________