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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...