Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
  Welcome to our forum.

FFDS Home | TIPS Section | Tutorials Section | Resources Section | Utilities Section

Military | FSDS | Jetliners | Real Planes Section | Gmax | Rotorcraft | Business | Civilian

  HomeHelpSearchLoginRegister  
 
 
Page Index Toggle Pages: 1
Send Topic Print
wingfold vis (Read 1077 times)
24th Apr, 2013 at 3:18am

Rob Richardson   Offline
Point Pusher
UK

Gender: male
Posts: 20
*
 
I am after a part to show/hide on the wingfold command.
This is the best I can come up with, to me it looks as though it should work, but it doesn't.
Any help would be gratefully received.
Thank you in advance.
FSDS, FSX/P3D

<PartInfo>
       <Name>walrus_wingfold_show</Name>
       <Visibility>
           <Parameter>
               <Code>
                  (A:folding wing left position, percent) 99 &gt; &amp;&amp;
                  if{ 1 } els{ 0 }
               </Code>
           </Parameter>
       </Visibility>
   </PartInfo>
 
IP Logged
 
Reply #1 - 24th Apr, 2013 at 11:02am

Flusirainer   Offline
Point Pusher
I Love FFDS!

Posts: 27
*
 
(A:folding wing left position, percent) 99 &gt;
&amp;&amp;
???



&amp;&amp; but is as and used, when a plurality of parameters are defined


<PartInfo>
       <Name>walrus_wingfold_show</Name>
       <Visibility>
           <Parameter>
               <Code>
                  (A:folding wing left position, percent) 99 &gt;
                  if{ 1 } els{ 0 }
               </Code>
           </Parameter>
       </Visibility>
   </PartInfo>
 
IP Logged
 
Reply #2 - 24th Apr, 2013 at 12:45pm

Tom/FFDS   Offline
YaBB Administrator
Jets are for kids!

Posts: 1584
*****
 
And the  if{ 1 } els{ 0 } is not needed AFAIK - if the statement is true, it will be visible.  No extra code needed.

Hope this helps,
 

Tom Gibson

California Classic Propliners: Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login or Register

AlcoHauler Locomotive Page: Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login or Register

San Diego Model RR Museum: Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login or Register
IP Logged
 
Reply #3 - 25th Apr, 2013 at 3:45am

Rob Richardson   Offline
Point Pusher
UK

Gender: male
Posts: 20
*
 
Thank you very much for your help, I appreciate you taking the time to reply.
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print