void DumpPoints(string cmd, string[] splitcmd, int player) { MapPoint[] mappoints = aicallback.GetMapPoints(); foreach (MapPoint mappoint in mappoints) { aicallback.DrawUnit("ARMSOLAR", mappoint.Pos, 0.0f, 100, aicallback.GetMyAllyTeam(), true, true); logfile.WriteLine("mappoint: " + mappoint.Pos.ToString() + " " + mappoint.Label); } logfile.Flush(); }