Jump to content
Sign in to follow this  
Slammer

Please help on landing gear problem

Recommended Posts

Gentz,

 

I'm having a problem with my landing gear lights. I want them on the ground to go on/off with the switch and when turned on, i want them in the air to go on/off when landing gear is in/out. I have the following snippet which only works on the ground. Tried with SIM ON GROUND syntax but could not get it to work. please help!

    <Element>
        <Select>
            <Value>
                (A:LIGHT TAXI,bool) (A:GEAR CENTER POSITION,percent) 99 < && if{ (> K:TOGGLE_TAXI_LIGHTS) } els{ }
            </Value>
        </Select>
    </Element>

<!-- PANEL LIGHT SWITCH (!) - FORCED OFF   -->
	<Element>
		<Select>
			<Value>(A:LIGHT PANEL ON,bool) ! if{ (> K:PANEL_LIGHTS_OFF) }</Value>
		</Select>
	</Element>

</Gauge

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...