extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Time boolean

Open UndermanReal opened this issue 2 years ago • 8 comments

Button Something like this could be very useful (pretend the one in the image is a Boolean and not a block)

UndermanReal avatar May 30 '23 20:05 UndermanReal

is this connected to (timer) block and just (timer) > (5)?

Skyhigh173 avatar May 31 '23 03:05 Skyhigh173

Yeah basically, but it's not always 5, that was an example

UndermanReal avatar May 31 '23 11:05 UndermanReal

That as a Boolean is ambiguous. Does it tick true for 1 frame every 5 seconds?

LilyMakesThings avatar May 31 '23 11:05 LilyMakesThings

No, let me rephrase it. You input something in the boolean, and it will have a timer for your input, which is the amount of seconds it waits until it's true. This would be used in wait until blocks, where if you want to wait for a certain amount of seconds while also checking if another thing is true

UndermanReal avatar Jun 01 '23 00:06 UndermanReal

that seems useful, would it work for multiple at a time?

yuri-kiss avatar Jun 01 '23 01:06 yuri-kiss

No, let me rephrase it. You input something in the boolean, and it will have a timer for your input, which is the amount of seconds it waits until it's true. This would be used in wait until blocks, where if you want to wait for a certain amount of seconds while also checking if another thing is true

So wait until <> or wait () seconds ?

Skyhigh173 avatar Jun 02 '23 08:06 Skyhigh173

@Skyhigh173 Most likely... There is a similar implementation in penguinmod and it is quite convenient: Скриншот 02-06-2023 110932

ghost avatar Jun 02 '23 08:06 ghost

Yes that is basically what I meant

UndermanReal avatar Jun 03 '23 14:06 UndermanReal