1
0
Fork 0
A320-family/Nasal/MCDU/ROUTESELECTION.nas
2021-01-21 11:55:43 +00:00

22 lines
No EOL
396 B
Text

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