XPLMSetDirectToFMSFlightPlanEntry
XPLM_API void XPLMSetDirectToFMSFlightPlanEntry(
XPLMNavFlightPlan inFlightPlan,
int inIndex);
This routine changes which entry the FMS is flying the aircraft toward. The track is from the current position of the aircraft directly to the n'th point, ignoring the point before it.