* Dave Perry -- Sunday 05 March 2006 01:41: > I would like to add a voltage check before moving the flaps or landing > gear in data/Nasal/controls.nas.
> _ if(getprop("/systems/electrical/outputs/flaps") < 8.0) {return; } [...] > _ if(getprop("/systems/electrical/outputs/landing-gear") < 8.0) 8.0 what? Ampere? I don't think such a fixed value is a good idea here. This should IMHO be an "enabled" flag. The aircraft knows more about the exact conditions and could then enable/disable this flag whenever it thinks it should (below 8.0 "thingies" or 0.6 or whatever). 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