Here's a line from the new script:
- Code: Select all
if ((getprop("/scenery/airport/jetway[0]/door[0]/position-norm") == 0 and getprop("/scenery/airport/jetway[0]/door[1]/position-norm") == 0 and getprop("/scenery/airport/jetway[0]/door[2]/position-norm") == 0 and getprop("/scenery/airport/jetway[0]/door[3]/position-norm") == 0 and getprop("/scenery/airport/jetway[0]/door[4]/position-norm") == 0) or (getprop("/scenery/airport/jetway[0]/door[0]/position-norm") == 1 and getprop("/scenery/airport/jetway[0]/door[1]/position-norm") == 1 and getprop("/scenery/airport/jetway[0]/door[2]/position-norm") == 1 and getprop("/scenery/airport/jetway[0]/door[3]/position-norm") == 1 and getprop("/scenery/airport/jetway[0]/door[4]/position-norm") == 1))
I think I just set a new record for "FlightGear's longest nasal if condition."