1
0
Fork 0

- pushback is allways visible when the dialog is opened

- pushback goes away when the dialog is closed
- pushback may be hidden when the dialog is visible
This commit is contained in:
torsten 2009-05-06 17:03:40 +00:00
parent 75aa906b26
commit c380c111a0

View file

@ -7,9 +7,15 @@
<open>
var pushback_position = aircraft.door.new("sim/model/pushback", 10.0);
pushback_position.setpos(pushback_position.getpos());
props.globals.initNode("/sim/model/pushback/enabled", 0, "BOOL" );
props.globals.getNode("/sim/model/pushback/enabled", 1 ).setBoolValue(1);
props.globals.initNode("/sim/model/pushback/target-speed-fps", 0.0 );
</open>
<close>
pushback_position.stop();
pushback_position.setpos(0);
setprop("/sim/model/pushback/enabled", 0 );
</close>
</nasal>
<group>