As stated in the script_commands.txt file:
It also has something to do with the mob's sight range, if not mistaken, just like how you can't directly walk to cells that is not within your character's view or walk range. (Not sure about this.) I don't recommend increasing it because the mob will be able to detect players from afar as well.
Just try looping unitwalk until the mob reaches its destination.