Blockland Forums > Help
Making a delay that is over 30 seconds.
phflack:
use a loop, with a counter
Orthone:
Relays or VCE work.
slimabob:
--- Quote from: phflack on August 31, 2011, 08:37:44 PM ---use a loop, with a counter
--- End quote ---
I'm not 100% sure what you mean but I think I have an idea. I'll try it out and unlock this thread if it doesn't work.
Warning - while you were typing a new reply has been posted. You may wish to review your post.
--- Quote from: Orthone on August 31, 2011, 08:38:14 PM ---Relays or VCE work.
--- End quote ---
That's what I'm going to try.
slimabob:
So, could anyone help me with why this isn't working:
jes00:
When doing this I prefer something like the following:
--- Code: ---[x] [ ] 1. onActivate Self fireRelay
[x] [30000] 2. onRelay Self fireRelay
[x] [ ] 3. onRelay Self VCE_modVariable [Timer] [Add] [1]
[x] [ ] 4. onRelay Self VCE_ifVariable [Timer] [==] [4] [5 7]
[x] [ ] 5. onVariableTrue Self VCE_modVariable [Timer] [Set] [0]
[x] [ ] 6. onVariableTrue Minigame chatMessageAll [The time is up!]
--- End code ---
this would me it so that every two minutes in the minigame a message is sent to all saying "The time is up!"
To change the amount of time simply change the delay in line two and the if variable == in line 4.