I fire up the AI, and then team up with it. Then I proceed to build a couple of railroad stations in several towns.
Start function:
Code: Select all
function Start()
{
local sl = AIStationList(AIStation.STATION_TRAIN);
foreach (station in sl) {
AILog.Info("Station near " + AITown.GetName(AIStation.GetNearestTown(station)));
}
}
Code: Select all
Station near Kiel
Station near Kiel
Station near Kiel
Is it even possible to do what I attempt to do? Or does the stationList only return stations built by the AI?
edit:
Minor mistake in that one: Either, game is paused until the stations have been built, or a while(true) loop is around the content of the entire Start() function
