Hi all,
With respect to this function...
http://devs.openttd.org/~noai/aidocs/cl ... 68060814cf
A) I dont quite get what the first line means. Is it saying that it DOESN'T respect the build on slopes setting, i.e. whether its on or off the function will return the same?
B) Does it check to see if start can be connected to tile, or tile to end, or start to tile to end?
I have a bug in my AI which is related to this function, causing roads to be built incorrectly, but I wonder if I'm just using the function incorrectly rather than a bug in the API.
Thanks.
AIRoad.CanBuildConnectedRoadPartsHere()
Moderator: OpenTTD Developers
AIRoad.CanBuildConnectedRoadPartsHere()
PathZilla - A networking AI - Now with tram support.
Who is online
Users browsing this forum: No registered users and 3 guests