Profile image

Complex Activation Group Question

893 tirpitz0309  23 days ago

How do I give an activation group a recharge time? I want to make a thruster last 3 seconds and to use it again I have to wait 10 seconds.

  • Log in to leave a comment
  • Profile image

    @Ku Thank you so much! This will help me to create a glide mechanic im planning for certain walker, hope you find a use for it too!

    +1 23 days ago
  • Profile image
    10.4k Ku

    repeat(sum(clamp01(Activate1)),13)<3&Activate1?1:0

    This will make it so that for the first 3 seconds Activate 1 is activated it will output 1 (turns whatever you want on) and it will stop activating for 10 seconds and then repeat the process. Catch is that the activation group needs to be pressed down for it to recharge

    +1 23 days ago
  • Profile image
    14.0k Griffon1

    After fiddling around for a bit, dont use the below function, it doesnt work at all.
    The premise is there, its just i've been away for too long to make it actually work

    +1 23 days ago
  • Profile image
    14.0k Griffon1

    Oh its definitely possible.
    Basically, what you'd need is a smooth operation timed with the desired activator,
    i.e. 1-floor(smooth([DESIRED CONDITION, AS A BINARY],[COOLDOWN IN SECONDS]))
    and place an activation group [VARIABLE NAME]=1?1:0
    Ill have to d a bit of testing because I havent opened SP in a while

    +1 23 days ago
  • Profile image
    25.5k Graingy

    Not possible I think?
    At least not without FT?
    Idk I don't know this stuff.
    Perhaps ask one of the FT wizards around here, they might know.

    23 days ago