Blockland Forums > Suggestions & Requests
Make event delay times longer.
<< < (2/2)
Deadzone:

--- Quote from: King Leo on June 28, 2012, 07:19:50 PM ---Make a relay loop that loops X times, each loop lasting 30 seconds, before executing the wanted event.

Example:

0 onTrigger -> self -> setvariable [counter] [10]
33 onTrigger -> self -> fireRelay
0 onRelay -> self -> ifvariable [counter] > 0
0 onVariableTrue -> self -> modVariable [counter] -> substract 1
30000 onVariableTrue -> self -> fireRelay
0 onVariableFalse -> ....

The syntax isn't right, but you get the point. It's basically a while-loop.    

--- End quote ---

That is: something I wouldn't have thought of off the top of my head. I will have to try this.
Ipquarx:

--- Quote from: King Leo on June 28, 2012, 07:19:50 PM ---Make a relay loop that loops X times, each loop lasting 30 seconds, before executing the wanted event.

Example:

0 onTrigger -> self -> setvariable [counter] [10]
33 onTrigger -> self -> fireRelay
0 onRelay -> self -> ifvariable [counter] > 0
0 onVariableTrue -> self -> modVariable [counter] -> substract 1
30000 onVariableTrue -> self -> fireRelay
0 onVariableFalse -> ....

The syntax isn't right, but you get the point. It's basically a while-loop.    

--- End quote ---
Thank you for repeating my exact post.
phflack:
you don't need to use variables, a toggle counter would work too
King Leo:

--- Quote from: Ipquarx on June 28, 2012, 08:12:33 PM ---Thank you for repeating my exact post.

--- End quote ---
You posted while I wrote it.
Navigation
Message Index
Previous page

Go to full version