/// <summary> /// restore the variables that were saved by CNS_Store() /// </summary> private void CNS_RestorePrevious() { CNS.atWayDest(NavSettings.TypeOfWayDest.COORDINATES); // clear destination CNS.speedCruise_external = initial_speedCruise_external; CNS.speedSlow_external = initial_speedSlow_external; CNS.ignoreAsteroids = false; //CNS.destinationRadius = initial_destinationRadius; }
/// <summary> /// Sets the speeds, ignore asteroids, clears waypoint /// </summary> private void CNS_SetHarvest() { CNS.atWayDest(NavSettings.TypeOfWayDest.COORDINATES); // clear destination CNS.speedCruise_external = 0.5f; CNS.speedSlow_external = 2; CNS.ignoreAsteroids = true; //CNS.FlyTheLine = true; }