Jump to content
Sign in to follow this  
E

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

...(wish I could delete my own posts)...

Share this post


Link to post
Share on other sites

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...