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. Starship
  6. Can't Toggle Wheel Chocks via LVar

Can't Toggle Wheel Chocks via LVar

Scheduled Pinned Locked Moved Starship
9 Posts 2 Posters 62 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.
  • J Online
    J Online
    jmarkows
    wrote last edited by
    #1

    I'm currently working a set of interactive checklists with SayIntentions to have the AI Copilot do a lot of the heavy lifting for the Starship (not that it really needs it), and I've discovered that I can't toggle the wheel chocks through LVars like I can other things.

    The manual lists bksq_WheelChocks as the LVar, and the MSFS 2024 Behaviors tool in Dev Mode seems to support that, but I can't toggle them using 0 or 1 the way I can with the engine covers with bksq_EngineCovers or the pitot covers with bksq_PitotCovers.

    Thoughts?

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

      The L:Var for the wheel chocks functions in the same way as the others you mentioned. The only thing that should prevent the chocks from deploying is if the aircraft is moving.

      1 Reply Last reply
      0
      • J Online
        J Online
        jmarkows
        wrote last edited by
        #3

        It's definitely not moving, it's cold, dark, and stationary. I agree that it should be working, but for some reason, at least on my end, it isn't toggling them. I have tried both adding and removing them via LVar and neither works.

        Also, you're missing the var_ in var_CockpitTemperatureKnob in the manual 🙂

        1 Reply Last reply
        0
        • J Online
          J Online
          jmarkows
          wrote last edited by
          #4

          Ok, let me correct that, it wasn't working, and now that I've bothered you about it, it is.

          I even tried restarting the flight and it's working right off the bat. I didn't think it was wind or anything since I was able to manually toggle them via the tablet and click spots, but I haven't changed anything and now it wants to work.

          1 Reply Last reply
          0
          • J Online
            J Online
            jmarkows
            wrote last edited by
            #5

            What would the LVar be for the External Power Cart? I see bksq_ExternalPowerAvailable and bksq_ExternalPowerOn in the Behavior viewer for the same click spot on the wing.

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

              Glad it's working now. L:bksq_ExternalPowerOn, but also make sure either the chocks are deployed or the parking brake is on.

              1 Reply Last reply
              0
              • J Online
                J Online
                jmarkows
                wrote last edited by jmarkows
                #7

                I know for the generators you're using the stock K events of Toggle_Alternator1/2, but would you know how to index the Alternator_On or Alternator_Set K Events? Toggle alternator will just set it to on if off, or off if on, and for automation purposes I'd like to specifically set it to on (ideally reset, then on) without risking it being in the wrong position and getting toggled wrong.

                This interface is pretty simplistic and I can't set conditionals, so I'm working through it with raw variable setting.

                I was also hoping I could commandeer var_GeneratorReset_R/L but setting it to 200 moves the switch to the reset position, but it sticks.

                1 Reply Last reply
                0
                • J Online
                  J Online
                  jmarkows
                  wrote last edited by
                  #8

                  Yeah, I can't figure out how to work around the SI limitations and the native K events at play here.

                  I tried just using TOGGLE_ALTERNATOR and that puts the switch from Off to On as it should, but it still requires the user to flick the switch up into Reset before the generator will start supplying power.

                  Unless you have a hidden LVar up your sleeve, Nick.

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

                    I don't think there is any reason you shouldn't be able to do exactly what it does in my code. All you should need is K:TOGGLE_ALTERNATOR1, K:TOGGLE_ALTERNATOR2, L:var_GeneratorReset_L, and L:var_GeneratorReset_R. Just set the latter two to 1 for the reset switch position.

                    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