Thankyou just what i needed. Maybe one day i will be as good at nasal as you. ;)
Cheers Justin Smithies On Sunday 26 March 2006 22:10, Melchior FRANZ wrote: > Or better: > > gearDown = controls.gearDown; > controls.gearDown = func(down) { > if (!down or getprop("/systems/electrical/volts") > 22) { > gearDown(down); > } > } > > ... because stopping the gear movement should always be allowed. ;-) > Even smarter would be to watch the voltage and to stop the gear movement > as soon as it drops. Can all be done with Nasal. > > m. > > > ------------------------------------------------------- > 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 > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel ------------------------------------------------------- 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 Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel