March 25, 200521 yr Jan,Oh I see now.. This also works by getting the very closest airport to the desired waypoint DTO ( within 0.5 NM ) no matter what the DTO type is ( VOR, NDB, etc..) If used as a separate gauge it has no effect on the GPS display other than the flight plan page (FPL). It also works if a complete flight plan was made. %((A:GPS IS DIRECTTO FLIGHTPLAN, bool))%{case}%{:0}%((C:fs9gps:FlightPlanDestinationAirportident))%!s!% %((C:fs9gps:FlightPlanDestinationAltitude, feet))%!d!% Ft%{:1}%((A:GPS WP NEXT LAT, Radians) (>C:fs9gps:NearestAirportCurrentLatitude, Radians) (A:GPS WP NEXT LON, Radians) (>C:fs9gps:NearestAirportCurrentLongitude, Radians) 1 (>C:fs9gps:NearestAirportMaximumItems) 0.5 (>C:fs9gps:NearestAirportMaximumDistance, NMiles) 0 (>C:fs9gps:NearestAirportCurrentLine) (C:fs9gps:NearestAirportCurrentICAO) (>C:fs9gps:WaypointAirportICAO) (C:fs9gps:NearestAirportCurrentIdent))%!s!% %((C:fs9gps:WaypointAirportElevation, feet))%!d!% Ft%{end}Regards,Roman(KGRB) FS RTWR SHRS F-111 JoinFS Little Navmap
March 25, 200521 yr Author Thanks Roman!At least now the elevation of the closest airport is automatically entered in the press system.And.. the closest airport-elevation probably is the one where you are going too land!Jan"Beatus Ille Procul Negotiis" Jan "Beatus ille qui procul negotiis..."
Create an account or sign in to comment