I want to create a gauge that displays and assigns the coordinates of the currently selected waypoint to GeoCalc.
Since my M/B died and I cannot test the code, I thought I should ask.
I have a knob that uses this when you right click it:
(C:fs9gps:FlightPlanWaypointIndex, number) ++ (>C:fs9gps:FlightPlanWaypointIndex, number)
From reading the SDK I suppose that this will read the next waypoint in my FP (from WP1 to WP2, etc). Then, I can use the following variables to write into GeoCalc. Is that right, or do I need to somehow "select" the waypoint other than change the index number?
VARIABLE EX GET SET
FlightPlanWaypointIndex Number X X X
FlightPlanWaypointLatitude Degrees X
FlightPlanWaypointLongitude Degrees X
Since my M/B died and I cannot test the code, I thought I should ask.
I have a knob that uses this when you right click it:
(C:fs9gps:FlightPlanWaypointIndex, number) ++ (>C:fs9gps:FlightPlanWaypointIndex, number)
From reading the SDK I suppose that this will read the next waypoint in my FP (from WP1 to WP2, etc). Then, I can use the following variables to write into GeoCalc. Is that right, or do I need to somehow "select" the waypoint other than change the index number?
VARIABLE EX GET SET
FlightPlanWaypointIndex Number X X X
FlightPlanWaypointLatitude Degrees X
FlightPlanWaypointLongitude Degrees X