• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

visibility switching flashing to steady

Messages
53
Country
germany
Hi, I want do dispaly some text first as flashing message and after that steady. How can I solve that?
For Blinking I have this:
<Visibility>
(L:APP_DH_ENT, bool) 1 == (L:APP_DH, number) &lt; &amp;&amp; (P:LOCAL TIME, seconds) 0.5 % 0.25 &lt; &amp;&amp;
</Visibility>
I want it to blink 9 seconds and then be displayed steady.
 
Last edited:
Something like this may work, not tested & written with only 1/2 cup of coffee :coffee: so it could be way off :p :stirthepo

XML:
<Visibility>
    <!-- SET THE TIMER 9 SECOND REFERENCE ONLY ONCE IF IN DH RANGE, IF OUT OF RANGE OF DH, RESET TO ZERO -->
    (L:APP_DH_ENT, bool) 1 == (A:RADIO HEIGHT, feet) (L:APP_DH, number) &lt;  and if{ (L:APP_DH_TIMER, number) 0 == if{ (P:Absolute time, seconds) 9 + (>L:APP_DH_TIMER, number) } }
    els{ 0 (>L:APP_DH_TIMER, number) }

    <!-- NOW USE THE "APP_DH_TIMER" VAR AS THE ACTUAL TRIGGER FOR THE 2 LIGHT  STATES, IF ELECTRICITY IS AVAIL -->
    (L:APP_DH_TIMER, number) 0 != (A:CIRCUIT GENERAL PANEL ON, bool) and if{

        <!-- THE SOLID STATE AFTER 9 SECONDS -->
        (P:Absolute time, seconds) (L:APP_DH_TIMER, number) &gt;  if{ 1 }
        <!-- THE BLINKING STATE BEFORE THE 9 SECOND LIMIT -->
        els{ (P:Absolute time, seconds) 0.5 % 0.25 1 * &gt;  ! }

    <!-- THE VAR IS ZERO OR NO ELECTRICITY...  NO LIGHT -->
     } els{ 0 }

</Visibility>
 
Last edited:
Thanks, will try it. I changed it a littel bit, as I have no panel switch or elctricity I have to monitor.


XML:
<Visibility>
<!-- SET THE TIMER 9 SECOND REFERENCE ONLY ONCE IF IN DH RANGE, IF OUT OF RANGE OF DH, RESET TO ZERO -->
(L:APP_DH_ENT, bool) 1 == (A:Radio height, feet) 14 - (L:APP_DH, number) &lt; and if{ (L:APP_DH_TIMER, number) 0 == if{ (P:Absolute time, seconds) 9 + (>L:APP_DH_TIMER, number) } }
els{ 0 (>L:APP_DH_TIMER, number) }

<!-- NOW USE THE "APP_DH_TIMER" VAR AS THE ACTUAL TRIGGER FOR THE 2 STATES -->
(L:APP_DH_TIMER, number) 0 != if{

<!-- THE SOLID STATE AFTER 9 SECONDS -->
(P:Absolute time, seconds) (L:APP_DH_TIMER, number) &gt;  if{ 1 }
<!-- THE BLINKING STATE BEFORE THE 9 SECOND LIMIT -->
els{ (P:Absolute time, seconds) 0.5 % 0.25 1 * &gt;  ! }

<!-- THE VAR IS ZERO -->
} els{ 0 }
</Visibility>
 
Back
Top