Is this possible? I looked over the actor script functions and I'm thinking no, but wondering if anyone has any creative ideas.
There is a hard encounter I'm designing for my dungeon where it's pretty easy for the player to get outside of where the enemy can path to the player. I'm wanting to make it so if the player is unreachable by the enemy, after a certain amount of time the enemy will flee (requiring the player to chase it down if they choose to re-engage). This will help prevent cheesing the enemy with ranged attacks.
LoS checks don't really work since I'm more concerned about the enemy being able to path to the player rather than see the player.