Allows players to middle click to move their character to a destination.
Providing the player with new tools or adjusting the game interface, without fundamentally changing gameplay.
I guess spider vehicles are different and use autopilot destinations / follow targets to move so would need a separate function to player / car
Xorimuth has a pretty reliable process for this - MIT license too https://github.com/tburrows13/SpidertronEnhancements/blob/master/scripts/pathfinder.lua
Thanks for the feedback, I haven't had much time to update the code lately, but I'll study the suggested solution and integrate it into the MOD if possible.