Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum
  1. Home
  2. Just Flight
  3. MSFS Products
  4. Black Square Add-Ons
  5. Baron Professional
  6. The “Door Seal - Press" variable does not work for me!

The “Door Seal - Press" variable does not work for me!

Scheduled Pinned Locked Moved Baron Professional
7 Posts 2 Posters 102 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SMN204
    wrote last edited by
    #1

    When I click mouse on the “Door Seal - Press” everything works fine.

    When I use Variable “Door Seal Inflate Switch#1 (>L:var_doorSealPrimaryInflate)” from the manual, only the animation of the switch moving to the “Press” position works, but the system does not work.
    Here is a video...

    1 Reply Last reply
    0
    • Black SquareB Online
      Black SquareB Online
      Black Square
      Black Square Developer
      wrote last edited by Black Square
      #2

      I thought it would do this automatically, but try turning on the door seal circuit at the same time with...

      (L:var_doorSealPrimaryInflate, bool) (>A:CIRCUIT SWITCH ON:34, bool)

      S 1 Reply Last reply
      0
      • Black SquareB Black Square

        I thought it would do this automatically, but try turning on the door seal circuit at the same time with...

        (L:var_doorSealPrimaryInflate, bool) (>A:CIRCUIT SWITCH ON:34, bool)

        S Offline
        S Offline
        SMN204
        wrote last edited by SMN204
        #3

        Unfortunately, it doesn't work.
        Only the animation works, but the system itself doesn't.
        Remark:
        "L:var_doorSealPrimaryInflate" turns off the system correctly (but doesn't turn it on)

        1 Reply Last reply
        0
        • Black SquareB Online
          Black SquareB Online
          Black Square
          Black Square Developer
          wrote last edited by
          #4

          Hm... That really should do the trick. It could have been a typo. I updated my code above, if you want to try that again.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SMN204
            wrote last edited by SMN204
            #5

            It works! Just with a small addition... “!” 🙂
            L:var_doorSealPrimaryInflate, Bool) ! (>A:CIRCUIT SWITCH ON:34, Bool)
            Thanks!

            1 Reply Last reply
            0
            • Black SquareB Online
              Black SquareB Online
              Black Square
              Black Square Developer
              wrote last edited by
              #6

              Oh, okay. One of two things is happening. Either you interpreted my instructions to mean replacing your code with just my code, instead of adding it (I should have been more clear), or the variable is not updating before the second line is running. If you want to try something that should be more reliable, try:

              Door Seal Inflate Switch#1 (>L:var_doorSealPrimaryInflate)
              Door Seal Inflate Switch#1 (>A:CIRCUIT SWITCH ON:34, bool)
              

              Glad you got it working 🙂

              S 1 Reply Last reply
              0
              • Black SquareB Black Square

                Oh, okay. One of two things is happening. Either you interpreted my instructions to mean replacing your code with just my code, instead of adding it (I should have been more clear), or the variable is not updating before the second line is running. If you want to try something that should be more reliable, try:

                Door Seal Inflate Switch#1 (>L:var_doorSealPrimaryInflate)
                Door Seal Inflate Switch#1 (>A:CIRCUIT SWITCH ON:34, bool)
                

                Glad you got it working 🙂

                S Offline
                S Offline
                SMN204
                wrote last edited by
                #7

                @Black-Square said in The “Door Seal - Press" variable does not work for me!:

                If you want to try something that should be more reliable, try:

                👍 👍

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users