i dont have any idea how to create an Npc for my game that can move randomly, attack the player and has a player vizualisation range and you can hide from behind objects.
i need that for my horror game and i need some help from people that are experienced.