Hi, I'm trying to make a winch make a sound when my main rotor goes over x RPM. I also wanna make it so i can stop it from gowinch either doesn't turn oing off after pressing a button. But my ff or it stops before using the button/lowering RPM. How do i code this?
@overlord5453 Yeah this worked, thanks. Is there a way to have it stay on till i turn it off with another variable? I want to be able to reset it
@Stick it should keep extending and retracting as long as the variable is active.
@overlord5453 I tried making it really short but then it beeps for a second and stops cuz it completed the movement. Unless you can use cycle (like on a piston) on a winch
Make the range of the winch short so that it will retract quickly. Or use a piston.
@Stick okay, try this
Variable ? clamp01(sin(sum(360*1))) : 0
The
1
here determines the speed of the winch. Change it to higher number for higher speed.@overlord5453 I want a winch to move only when a variable turns on, not off. It's hard to explain I guess. I tried to make the winch work when the variable turns on, but then it also was making a sound when turning off. Sorry, English isn't my 1st language.
Can you explain what exactly what you want?
@LowQualityRepublic I can't make a winch just stop mid movement
And If no, can I have it only run when the warning goes on, not off?
the acknowledge warning part is kinda impossible, but if you want the master warning to trigger when the engine is overspeeding you can set the propeller RPM variable to something random and then put
YourVariable>(RPMthreshold)
Example:
Propeller RPM variable:
Rotations
FT input on light:
Rotations>3500