Profile image

How to make a group works after activating another groups?

3,067 4planes  1.4 years ago

Im working on a plane with working APU, i need your help to write a code to make the engines work after turning on the APU and will not turn off when the APU was turned off.

Answer in comments!

  • Log in to leave a comment
  • Profile image
    15.9k SilverStar

    @4planes I can't explain you better than I did. Take sn0wflakes's guide if you are not already using it

    1.4 years ago
  • Profile image
    3,067 4planes

    @SilverStar I don't understand too much, make an example

    1.4 years ago
  • Profile image
    15.9k SilverStar

    You will have to use the Thrust variable of your engines I guess (RPM is better but only for props), and create some custom variables. In the input of your engines you can make a funky tree code like
    "Thrust > Value ? Throttle+(Input for idle, like fuel pumps, that keep Thrust greater than value) : APU (input 0 or 1) * Engine start (input 0 or 0.1 (smthg little just enough to exceed the "start" Value))"
    Hope this will help you

    1.4 years ago
  • Profile image
    3,067 4planes

    @PlaneFlightX ok.

    1.4 years ago
  • Profile image
    49.3k PlaneFlightX

    My SWL-120 has this, but it's very complicated and simulates the engine combustion chamber. I think I'd do something with variables for sure, but can't easily explain it. If you can wait a couple of days I can make something for you.

    1.4 years ago