Profile image

Advanced funky trees advice needed

104k winterro  one month ago

So ibasically i am trying to get this

##click
= (FireGuns)`

##counter
= click = 1 ? Add 1 : (0)

click pressed and released 4 times counter should be 4

how should i go about doing this?

If click remains one it should only add 1

Also how do i make a memory? so it remembers the previous action?

  • Log in to leave a comment
  • Profile image
    104k winterro

    @Grob0s0VBRa aight, i'll try that!

    +1 one month ago
  • Profile image
    13.5k Grob0s0VBRa

    Try this:
    counter
    repeat(counter+( (clamp01(rate(FireGuns)>0))!=0?1:0),5)


    click = clamp01(rate(FireGuns)>0)

    +1 one month ago