Profile image

Can you delay pistons?

8 Fancyguyy  4.2 years ago

I’m working on a build and can’t figure out if you can delay pistons like detachers. (I’m on mobile)

Edit: I want to actually delay the activation of the piston I know you can lower its speed.

  • Log in to leave a comment
  • Profile image
    23.7k BagelPlane

    @vcharng Nevermind I fixed it with a bit more FT learning!

    3.7 years ago
  • Profile image
    23.7k BagelPlane

    @vcharng So I'm looking to delay a piston from extending. It retracts when my gear goes up, but I need it to be delayed 3 seconds when the gear comes down. The code I'm using is LandingGear ? 1 : DELAY CODE It works when going up, just needs a 3-second delay when coming down.

    3.7 years ago
  • Profile image

    Thx@vcharng

    4.2 years ago
  • Profile image
    9,428 vcharng

    get a 1.9.203 beta and use smooth function.
    Assume you want to activate it 5 seconds after AG1 is turned on, input this on the "inputid" or "input":
    sign(smooth(Activate1, 0.2))

    +1 4.2 years ago