Escalasion
Member
- Joined
- Sep 20, 2024
- Messages
- 14
- Reaction score
- 0
Hello. I would like to somehow replace this "wait 1000" in this cleo type timer with something more efficient, so that it does not affect the other codes implemented in "while true", because when this "wait 1000" runs, it also affects the other codes in "while true" to all have a delay of one second, which is a bit annoying, and I want this to stop happening and I was thinking that the only solution is to replace this "wait 1000" with something that does not affect the codes in "while true", an opcode, variable or something, because if I remove this "wait 1000", the timer no longer works correctly and starts to decrease instantly until it reaches 0 seconds and disappears in a fraction of a second. The problem is that I don't really know what other mechanism to add in exchange for this "wait 1000", so that the timer works and also decreases by one second until it reaches 0 seconds and then the timer starts to disappear automatically, without affecting the other codes in "while true" and having a delay of one second. How could I implement a new mechanism for the code? Because I would like the code to be exactly like now, but to replace only this "wait 1000" with another more efficient mechanism that does not affect the other codes in "while true" at all. I am waiting for an answer from you.