local alltiles = AIMap.GetMapSize(); for (local tile = 0; tile < alltiles; tile++) { AIAirport.GetNearestTown(AIBase.RandRange(alltiles), AIAirport.AT_INTERCON); }