1
0
Fork 0
A320-family/Nasal/MCDU/ROUTESELECTION.nas

22 lines
396 B
Text
Raw Normal View History

2020-04-30 19:26:36 +00:00
# Copyright (c) 2020 Matthew Maring (mattmaring)
2021-01-20 19:32:21 +00:00
# enhanced inuyaksa*2021
var initInputROUTESEL = func(key, i) {
if (key == "L6") {
setprop("MCDU[" ~ i ~ "]/page", "INITA");
}
}
2021-01-20 19:32:21 +00:00
var RouteSelManager = {
leglist: nil,
loadFlightplan: func(path) {
if (right(path,4) == ".xml") { # plan from SimBrief?
if (SimBrief.isValid(path)) {
leglist = SimBrief.readLegs(path);
}
}
}
}