bin/ai/regression/regression.nut
branchnoai
changeset 9874 4ecef0dadf01
parent 9867 b7d9ffe24f81
child 10086 6497ef78f031
equal deleted inserted replaced
9873:b1ab23560ecb 9874:4ecef0dadf01
  1052 	print("  BuildVehicle():       " + AIVehicle.BuildVehicle(28479, 204));
  1052 	print("  BuildVehicle():       " + AIVehicle.BuildVehicle(28479, 204));
  1053 	print("  IsValidVehicle(15):   " + AIVehicle.IsValidVehicle(15));
  1053 	print("  IsValidVehicle(15):   " + AIVehicle.IsValidVehicle(15));
  1054 	print("  IsInDepot(15):        " + AIVehicle.IsInDepot(15));
  1054 	print("  IsInDepot(15):        " + AIVehicle.IsInDepot(15));
  1055 	print("  IsStoppedInDepot(15): " + AIVehicle.IsStoppedInDepot(15));
  1055 	print("  IsStoppedInDepot(15): " + AIVehicle.IsStoppedInDepot(15));
  1056 
  1056 
       
  1057 	print("  --Errors--");
       
  1058 	print("    RefitVehicle():        " + AIVehicle.RefitVehicle(11, 0));
       
  1059 	print("    GetLastErrorString():  " + AIError.GetLastErrorString());
       
  1060 	print("    SellVehicle():         " + AIVehicle.SellVehicle(11));
       
  1061 	print("    GetLastErrorString():  " + AIError.GetLastErrorString());
       
  1062 	print("    SendVehicleToDepot():  " + AIVehicle.SendVehicleToDepot(12));
       
  1063 	print("    GetLastErrorString():  " + AIError.GetLastErrorString());
       
  1064 
  1057 	local list = AIVehicleList();
  1065 	local list = AIVehicleList();
  1058 
  1066 
  1059 	print("");
  1067 	print("");
  1060 	print("--VehicleList--");
  1068 	print("--VehicleList--");
  1061 	print("  Count():             " + list.Count());
  1069 	print("  Count():             " + list.Count());