This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
Request to add a repeat() function... please... #821
Closed
Minamotion
started this conversation in
Ideas
Replies: 2 comments 4 replies
-
Update: Nvm, I found a way to fix my issue LOL, but yet it will still be useful |
Beta Was this translation helpful? Give feedback.
1 reply
-
Does loop accompolish what you want to do? for (let i = 0; i < 5; i++) {
// do whatever
} |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Concept
It can work like
what it does is repeat 5 times some code, it can work with
await
Why I want this
I was working on a dialog system and found the inevitable bug of
loop()
making the text delay be subtracted each dialog line, this is how i used it in a dialog class:Beta Was this translation helpful? Give feedback.
All reactions