BirdByte wrote:
blargin wrote:
OK done with <brodcast recieved> now i have another idea:
repeat for () secsYou could use the timer.
reset timer repeat until <(timer) > ((time you want) - (0.01))> scripts end
There's a problem with that idea though, say the script in the repeat takes longer than the time, would it stop or go until the end of the loop, the timer one does the latter
Offline
zammer990 wrote:
BirdByte wrote:
blargin wrote:
OK done with <brodcast recieved> now i have another idea:
repeat for () secsYou could use the timer.
reset timer repeat until <(timer) > ((time you want) - (0.01))> scripts endThere's a problem with that idea though, say the script in the repeat takes longer than the time, would it stop or go until the end of the loop, the timer one does the latter
For example,
repeat for (4) secs wait (5) secs endAFTER-PREVIEW EDIT: Aww, no custom C blocks! D:
Offline
BirdByte wrote:
zammer990 wrote:
BirdByte wrote:
You could use the timer.reset timer repeat until <(timer) > ((time you want) - (0.01))> scripts endThere's a problem with that idea though, say the script in the repeat takes longer than the time, would it stop or go until the end of the loop, the timer one does the latter
For example,
repeat for (4) secs wait (5) secs endAFTER-PREVIEW EDIT: Aww, no custom C blocks! D:
well if you say repeat for 4 secs then you wouldn't want to put wait 5 secs in it anyway because you want it for 4 secs so if you do that the block will just turn red.
Offline
BirdByte wrote:
blargin wrote:
OK done with <brodcast recieved> now i have another idea:
repeat for () secsYou could use the timer.
reset timer repeat until <(timer) > ((time you want) - (0.01))> scripts end
not if you need it for something else
Offline