see http://hg.openttd.org/openttd/trunk.hg/rev/0dd74b0bb243
So how I am supposed to check whatever airplane X may fly from airport on tile a to airport on tile b?
It seems that current API requires wasting money on airport construction just to check whatever connection may exist.
"Order distances are not supposed to be compared to map dis"
Moderator: OpenTTD Developers
"Order distances are not supposed to be compared to map dis"
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: "Order distances are not supposed to be compared to map
Contrary to what the documentation for ScriptOrder::GetOrderDistance says it also works on tiles that are not yet part of a station. This either needs to be made clear in the documentation or an alternative function that works like that should be created.
Re: "Order distances are not supposed to be compared to map
My last post was wrong, the documentation already said it worked for every tile. However frosch still took the time to extend the documentation a little bit.
Who is online
Users browsing this forum: No registered users and 3 guests