Change the AI for monsters so that instead of basically doing *follows* on the character they can no longer see, they run to the spot where they last saw the character and then look around from there, and if they detect the character then they can begin attacking.
This would have them run into darkness and the like, but it would keep them from doing that weird thing where they are able to perfectly follow you even after you used both invisibility and stealth and walked around in unpredictable patterns.
If it isn't possible to code just a ground-targeted move into the AI, then perhaps just add a check that breaks the *follows* script after a heartbeat passes if they don't detect the character.
Monster "search" AI
Moderators: Active Admins, Forum Moderators, Active DMs, Contributors, Area Developers, Artist/Animator, Suggestion Moderators