08463481c9
removed action-sim.nas + nose gear scissor animation computation now via interpolation xml + main gear rotation due to compression now via interpolation xml + moved NAV0 and NAV1 needle deflection filters to pseudo-autopilot xml + moved pannel and instrument lights control to light.nas + the remaining tank setlisteners are now in tank.nas pa24-250 updates + landing light animation now modeled after pa22 landing lights
12 lines
421 B
Text
12 lines
421 B
Text
#
|
|
# Listeners to tie the /consumables/fuels/tank[]/selected to
|
|
# /fdm/jsbsim/propulsion/tank[]/priority
|
|
|
|
setlistener("consumables/fuel/tank[0]/selected", func(selected) {
|
|
setprop("/fdm/jsbsim/propulsion/tank[0]/priority", selected.getBoolValue() ? 1 : 0);
|
|
});
|
|
|
|
setlistener("consumables/fuel/tank[1]/selected", func(selected) {
|
|
setprop("/fdm/jsbsim/propulsion/tank[1]/priority", selected.getBoolValue() ? 1 : 0);
|
|
});
|
|
|