MQ-9/Nasal/HUD.nas
2019-06-27 22:44:16 +02:00

12 lines
544 B
Plaintext

# turn off hud in views
setlistener("/sim/current-view/view-number", func(n) { setprop("/sim/hud/visibility[1]", n.getValue() == 8) },1);
#var fast_loop = func {
# var viewName = getprop("/sim/current-view/name");
# if (viewName == "Sensor View") {
# setprop("aircraft/flir/target/view-enabled", viewName == "Sensor Vew");
# setprop("sim/rendering/als-filters/use-filtering", 1);
# setprop("sim/rendering/als-filters/use-IR-vision", 1);
# setprop("sim/rendering/als-filters/use-night-vision", 1);
# }
#}