Talk:AI:Need To Know

From OpenTTD
Jump to: navigation, search

removed "You can use AIRoad.AreRoadTilesConnected() to ensure drivable connections between road sections. "

This statement is not true accoring to the AI API which states that

'tile_from' and 'tile_to' are directly neighbouring tiles.

Its also my experience programming that the tiles have to be adjacent. As a result I removed the statement. It would be good if this function did work in this way.

Personal tools