AiTravel does not work for actors outside of AI processing range
There is a Travellers mod for Morrowind (I found only a Russian version so far): travellers_52705.7z
A core feature of this mod - imperial patrols between forts and cities. Patrols consist of three guards, which use AiTravel packages with several waypoints to bypass vanilla 7168 distance limit (the
isWithinMaxRange function in OpenMW).
The issue is that the Morrowind still runs a some kind of "simplified" for actors outside of processing rance, so patrol can reach its destination even when guards are out of processting range. In OpenMW we do not handle actors outside of AI range at all, so patrols outside of that range just halt, scripts send another patrols which halt in the same place, etc. A result, when player enters the area, he sees a huge amount of moving NPCs, which is not right.
As a possible soultion, we could handle AI packages themselves and movement for all actor in active cells, but it may decrease performance a lot because of physcis. As a compromise, we can handle only AiTravel outside of processing range.