Profile image

Landing Gear that opens then closes

785 OldBomber  11 months ago

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! ??????????!

  • Log in to leave a comment
  • Profile image
    30.0k TriStar

    @Korzalerke2147483647 facts

    11 months ago
  • Profile image
    785 OldBomber

    @Korzalerke2147483647 Thank you it works perfectly

    +1 11 months ago
  • Profile image

    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.

    +1 11 months ago
  • Profile image
    785 OldBomber

    The many is japanese idk why it won't show

    11 months ago