I am currently making a map that makes a unit (a merchant) to spawn in his town and go to a destination where it is possible for him to travel by foot. My map has small islands and his current spawning condition is that it checks every nearby allied town within his 3300 radii. But given the problem earlier, if I build a town in an island and build another town in an island next to it, the unit spawns and gets stuck in the shore.
Is there any way I check if the position of a nearby town and the town where the unit spawns possible to be traveled in foot?
Is there any way I check if the position of a nearby town and the town where the unit spawns possible to be traveled in foot?