Yes, its time.
Time for me to ask for some help.
How do I make a full startup for my helicopter?
I want to have 3 switches that enable the rotors: Battery, Fuel Pumps, Primers and Starters that need to all be activated for me to start the helicopter.
Thanks!
-Caper
Thanks mate! I’ve actually found another system that I write on the main rotors xml:
activationGroup: (Battery & FuelPumps) & (Primer & Electronics) & (Hydrolics & Starter)
It might not be able to have them to have to be activated in a certain order, but it does work well.
First, you make the necessary variables (Battery,FuelPump,Primers,Starters) and write the variable names in the input fields of the switches. You then make the rotor check if all the variables are true. If you control the rotor with throttle the code looks like this:
Throttle*(Battery*FuelPump*Primers*Starters=1?1:0)
If the all your switches are set to true (or 1), the second part of the code will output 1 or else 0.
If you want the rotor to only work after a certain sequence of the switches being activated, the second switch has to check if the first is true (for example
FuelPump*(Battery=1?1:0)
, the third one has to check if the second one is true, etc.I suggest reading Snowflake0s's guide on FunkyTrees (the link is in the Useful links post), it's the best way to learn to do things like this