I think floor(smooth(Activate1,1/x))
only works for activation, how do I make it work during deactivation too
Nevermind, found out that I don't really need both delayed activation and deactivation on my build.
here's the code for anyone who wants it:
Delay on activate:
ceil(smooth(clamp01(Activate1),1/0.5))
Delay on deactivate:
floor(smooth(clamp01(Activate1),1/3))
Not my code(forgot who's), posted it here for anyone else who needs it.
I know that you don't need this anymore but can be helpful in the future
Activate1>0?ceil(smooth(clamp01(Activate1),1)):floor(smooth(clamp01(Activate1),1))
There may be (must be) a way simpler way to do this but i should be asleep rn and can't think of it. Basically this checks if you're activating or deactivating and runs the correct code.