Sign in to follow this  
Guest Skymed

Making a switch with dual functions

Recommended Posts

GuysI would like a switch that performs one action when flicked on and another action when flicked off.I need to increase throttle to full when in the on position, and then decrease throttle to off when the switch is turned off. So far all I have is:(L:Prop,bool) 0 (>K:THROTTLE1_FULL) (L:Prop,bool) ! (>L:Prop,bool)Is there a way to make this switch do what I need??As always, help most appreciated.Steve

Share this post


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

Hi, Not tested, just an idea:(L:Prop,enum) 0 == if{ (>K:THROTTLE_CUT) }(L:Prop,enum) 1 == if{ (>K:THROTTLE1_FULL) } (L:Prop,enum) ! (>L:Prop,enum)Jan"Procul Negotiis"

Share this post


Link to post
Share on other sites

Hi,Or may be just this in the Click Event?(L:Prop,enum)(L:Prop,enum) 0 == if{ 1 (>L:Prop,enum) (>K:THROTTLE1_FULL) } els{ 0 (>L:Prop,enum) (>K:THROTTLE_CUT) }Jan"Procul Negotiis"

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