Route Finding - Shortest Path

you have to add sth like this to land route to eliminate impassable natural wonders:
local featureType = plotChk:GetFeatureType();
if (featureType > 6) then -- if natural wonder
bAdd = false;
else
bAdd = true;
end
 
Back
Top Bottom