Jump to content
Sign in to follow this  
Au MaV

Can Anybody reverse this xml gauge?

Recommended Posts

Hi Ive edited some code for a spoiler it works perfect but in reverse. In its current form with the gear up I get partial deployment of the spoiler and full deployment with the gear down.What Im aiming for is partial deployment with gear down and full with gear up.Ive tried just about every configuration I can think of but nothing works or only partially worksAny help much appreciatedThanksWozzaDa arse about code :) (A:GEAR CENTER POSITION,bool) if{ (L:spl_drop,bool) if{ 0 (>L:spl_drop,bool) 16384 (>K:AXIS_SPOILER_SET) } } els{ (A:SPOILERS HANDLE POSITION,percent) 99 > if{ (L:spl_drop,bool) ! if{ 1 (>L:spl_drop,bool) 2000 (>K:AXIS_SPOILER_SET) } els{ 0 (>L:spl_drop,bool) -16384 (>K:AXIS_SPOILER_SET) } }

Share this post


Link to post
Share on other sites

Hi,May be (A:GEAR CENTER POSITION,PERCENT) works better.e.g > 50 or < 50 Jan"Beatus Ille 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  

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