public static void WarptoApa() { MechJebCore activejeb = GetJeb(); if (activejeb != null) { MechJebModuleLandingAutopilot activelnd = activejeb.GetComputerModule("MechJebModuleLandingAutopilot") as MechJebModuleLandingAutopilot; if (activelnd != null) { activelnd.LandUntargeted(activejeb); } } }
public static void LandTarget() { MechJebCore activejeb = GetJeb(); if (activejeb != null) { MechJebModuleLandingAutopilot activelnd = activejeb.GetComputerModule("MechJebModuleLandingAutopilot") as MechJebModuleLandingAutopilot; if (activelnd != null) { activelnd.LandAtPositionTarget(activejeb); } } }