Im currently working on a survival game but Ive hit a block. Im a designer but i know a little bit of coding. Im trying to write up a script where the enemy is allowed to traverse the map via navmesh from a point to point,but once the player is spotted it chases the player until out of the FOV on the enemy where it will then go towards the nearest point and continues its point to point.I would really apprciate any kind of help and will be sure to credit you.