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