Profile image

How do I add a delay to an input?

29.6k TriStar  3.3 years ago

I’m making some lights and I need to know that FT code.

  • Log in to leave a comment
  • Profile image
    16.4k edensk

    floor(smooth(input,1/x))
    x is the delay in seconds

    Pinned 3.3 years ago
  • Profile image
    4,174 ccc12345

    @edensk THANKS BRO

    21 days ago
  • Profile image
    2,524 StinkyRice

    @edensk where do i put it in

    1.6 years ago
  • Profile image
    2,524 StinkyRice

    @edensk and what do i put it in?

    1.7 years ago
  • Profile image
    16.4k edensk

    @Blub00The00Builder it's part of the code, yes

    1.7 years ago
  • Profile image
    2,524 StinkyRice

    @edensk is floor apart of it?

    1.7 years ago
  • Profile image
    16.4k MrGreen

    thx, might use it for RGB in a future build @edensk

    2.4 years ago
  • Profile image
    33.3k tsampoy

    @edensk ahh ok

    3.3 years ago
  • Profile image
    16.4k edensk

    @FeatherWing that is for inputs that can only be "on or off"
    For inputs such as Throttle, Pitch, etc you should use something I haven't thought of yet

    3.3 years ago
  • Profile image
    22.7k FeatherWing

    @edensk
    Does that also work on engines?

    3.3 years ago
  • Profile image
    16.4k edensk

    @tsampoy @TriStar you're welcome lol

    3.3 years ago
  • Profile image
    33.3k tsampoy

    @edensk Thank you!

    3.3 years ago
  • Profile image
    29.6k TriStar

    Thanks! @edensk

    3.3 years ago