Sign in to follow this  

Is there a more elegant way to do this...

Recommended Posts

I've made a simple gauge to turn off my landing lights if I raise my gear, but leaves them alone when the gear is lowered. This is a miracle in itself as the only programming I've done is batch files from the old pre-internet BBS days! (note the high-tech use of tug_disable! LOL) It works, but I've run into Rob's oft-warned-of-phenomenon of not being able to select more than one of anything (ie. second exit, second engine, pushback directions, etc). So is there a better way to do this, or should I just limit my use to single engined/single exited non-pushback-able acft? (yeah, I know it's not a real word *grin*)I've tried variations of typical light gauges that toggle_landing_lights, but always end up at the same place in the end. Here's the simplest that works, but stops the use of the second items mentioned above... (A:GEAR LEFT POSITION,rpm) 4.0 < if{ 1 (>K:LANDING_LIGHTS_OFF) } els{ (>K:TUG_DISABLE) }

Share this post

Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this