I found some codes from other post that unfortunately doesn't work. I am building a plane that requires the landing gear door to open (for extending or retracting the gear) and closes. Yet I find it difficult since I have super little knowledge about funky tree codes (I stop playing the game for months, but now I am back), can anyone help me?
Also just wanna share I am studying Japanese!
That's all hope someone helps me! ??????????!
@Korzalerke2147483647 facts
@Korzalerke2147483647 Thank you it works perfectly
Some code from a plane I made, should work for what you want I think:
ceil(smooth(clamp01(!GearDown), 1 / 3)) - floor(smooth(clamp01(!GearDown), 1 / 2))
When lowering the landing gear, this code will open the door, wait 3 seconds, then close.
When raising the gear, it does the same thing but will wait 2 seconds instead.
To change how long it waits in both cases, just change 3 and 2 to whatever number of seconds you want.
The many ? is japanese idk why it won't show