Another solution I thought of is if there was a mod that prevented creatures from entering certain cells, like towns. So when they get close enough they turn around.
Mostly I'm curious if there are any mods that do exist for this purpose, or if not if there were a feasible solution. Thanks.