Brendan Chen 943434 Posted November 24, 2013 at 06:10 AM Posted November 24, 2013 at 06:10 AM Hi all, I'm trying to get the [Mod - Happy Thoughts]igned runway to display on a datatag that I'm writing through the SDK. I couldn't figure out a way to use the EuroScopePlugIn::TAG_ITEM_TYPE_[Mod - Happy Thoughts]IGNED_RUNWAY constant, only the function constant. Nor am I sure if I should be using that if I want to feature of "[Mod - Happy Thoughts]igned Runway" found in the TAG Editor? The current implementation I am trying to use GetDepartureRwy() and GetArrivalRwy(). And the problem I am having from doing that is when the departs an airport, the runway number is still there whereas if I use the "[Mod - Happy Thoughts]igned Runway" feature in TAG Editor, it disappears. So how would I apply the same functionality in code as I do with the TAG Editor? One other thing, I am also not sure which function to look for or use if I want to get the upcoming (3) waypoints (including that within the airway); ie if I have an airway A123 which includes LALEX, KOBIE, JADEY, NOMEK, and my aircraft's flight plan is (... CTU DCT LALEX A123 NOMEK ...) with its upcoming waypoint being CTU, I want to extract waypoints CTU, LALEX and KOBIE, how should that be achieved? Thank you in advance. Cheers, Brendan Chen VATPRC Tech Support You make the difference! Link to comment Share on other sites More sharing options...
Brendan Chen 943434 Posted November 25, 2013 at 07:15 PM Author Posted November 25, 2013 at 07:15 PM Any help would be really much appreciated please? Particularly with the route related question. Brendan Chen VATPRC Tech Support You make the difference! Link to comment Share on other sites More sharing options...
Gergely Csernak Posted December 27, 2013 at 11:27 AM Posted December 27, 2013 at 11:27 AM A bit late answer but: - GetDepartureRwy() and GetArrivalRwy () returns the [Mod - Happy Thoughts]igned values in all phases of the flight while the TAG_ITEM_TYPE_[Mod - Happy Thoughts]IGNED_RUNWAY shows the departure RWY while you are close to the departure airport, then shows the arrival RWY. That is just the behavior of TAG_ITEM_TYPE_[Mod - Happy Thoughts]IGNED_RUNWAY. - Use the GetExtractedRoute of the flight plane. There you have access to the route point by point. Gergely. EuroScope developer Link to comment Share on other sites More sharing options...
Recommended Posts