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

17 lines
424 B
Text
Raw Normal View History

2020-04-30 19:26:36 +00:00
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (mattmaring)
2019-10-14 16:48:35 +00:00
2020-04-18 05:36:46 +00:00
# Copyright (c) 2020 Josh Davidson (Octal450)
2019-10-14 16:48:35 +00:00
var statusInput = func(key, i) {
if (key == "L3") {
fmgc.switchDatabase();
} elsif (key == "R5") {
2020-05-21 18:02:59 +00:00
if (fmgc.WaypointDatabase.confirm[i]) {
fmgc.WaypointDatabase.delete(i);
fmgc.WaypointDatabase.confirm[i] = 0;
2020-05-18 23:09:09 +00:00
} else {
2020-05-21 18:02:59 +00:00
fmgc.WaypointDatabase.confirm[i] = 1;
2020-05-18 23:09:09 +00:00
}
2019-10-14 16:48:35 +00:00
}
}