-------- Original-Nachricht --------
Betreff: Re: [Flightgear-devel] Re: Melchior - unwished "side-effect" of
local.nas for UFO speed setting
Datum: Mon, 13 Mar 2006 11:45:28 +0100
Von: Georg Vollnhals <[EMAIL PROTECTED]>
An: [email protected]
Referenzen: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Melchior FRANZ schrieb:
* Georg Vollnhals -- Sunday 12 March 2006 05:51:
When I looked at the controls/gear/gear-down[0] property I saw that
neither the joystick nor the keyboard changed it when using the UFO and
the new local.nas file was running.
Well, then do what I suggested in the pa24 thread:
original_gearDown = controls.gearDown;
controls.gearDown = func(x) {
if (x) {
setprop("engines/engine/speed-max-mps", x > 0 ? 10 : 2000);
}
original_gearDown(x);
}
m.
Melchior,
works fine now :-), thank you for your help.
Georg
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel