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
|
2020-03-25 14:54:39 +00:00
|
|
|
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|