1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FS2004 V2 call won't sound

Discussion in 'Gauges' started by vololiberista, 27/4/12.

  1. vololiberista

    vololiberista

    Joined:
    24/8/09
    Messages:
    667
    Country:
    italy
    Code:
     <Value>(L:sound_played5,bool) 0 == (A:SIM ON GROUND, bool) 0 == and
    (L:REF V2,number) and (A:AIRSPEED INDICATED,knots) &gt; and
    if{ 1 (>L:Sound_v2,number) 1 (>L:sound_played5,bool) }</Value>
    The V2 speed is calculated and passed to (L:REF V2,number) but the sound is not played. Is the code above correct? I want the sound to be played when (A:AIRSPEED INDICATED,knots) passes the value stored in (L:REF V2,number).
    vololiberista
  2. chris

    chris

    Joined:
    24/1/09
    Messages:
    471
    Country:
    indonesia
    (A:AIRSPEED INDICATED,knots) &gt; .... ?

    Is greater than what?
  3. vololiberista

    vololiberista

    Joined:
    24/8/09
    Messages:
    667
    Country:
    italy
    Yes I think that's wrong. What I want is (A:AIRSPEED INDICATED,knots) greater than (L:REF V2,number)
    vololiberista
  4. taguilo

    taguilo Resource contributor

    Joined:
    20/10/06
    Messages:
    885
    Country:
    argentina
    Actually it's inversed, what is greater than (A:AIRSPEED INDICATED,knots) ?

    Code:
     <Value>(L:sound_played5,bool) 0 == (A:SIM ON GROUND, bool) 0 == and (A:AIRSPEED INDICATED,knots) (L:REF V2,number) > and if{ 1 (>L:Sound_v2,number) 1 (>L:sound_played5,bool) }</Value>
    Tom
  5. vololiberista

    vololiberista

    Joined:
    24/8/09
    Messages:
    667
    Country:
    italy
    Thanks for that Tom et al. The logic or to put more clearly the "illogic" of it is confusing sometimes!!
    vololiberista

Share This Page