Profile image

Temporary Input

5,135 darthschmuck52  3.1 years ago

Is there a way (preferably using overload) to make a input be activated temporarily? IE: have the input go from 0 to 1 and stay there for a certain amount of time, then automatically go back to 0?

solved, the input I was looking for was
ceil(smooth(rate(x) > 0 ? 1: 0, rate(x) > 0 ? 1000000 : 1/t))
T= time, X= input

  • Log in to leave a comment
  • Profile image

    @Destroyerz117 that isn't working, I mean if I have it on a rotator it will only be active for a certain amount of time then after that time it automatically goes back off, that from what I can tell just edits the delay before activation and de-activation.

    3.1 years ago
  • Profile image

    yep there sure is

    round(smooth(clamp01(Activate1), Activate1? 1/(2 * x) : 1/(2 * y)))

    x is the delay for activation, y for deactivation.

    +2 3.1 years ago