XPLMSetDestinationFMSEntry
XPLM_API void XPLMSetDestinationFMSEntry(
int inIndex);
This routine changes which entry the FMS is flying the aircraft toward. The track is from the n-1'th point to the n'th point.