Blockland Forums > Suggestions & Requests

Variable delay events

Pages: (1/1)

Sebster 105:

For example, in the "Delay" section of events, you could put 2500,6000 that means the event could happen anywhere between the space of 2.5 and 6 seconds.

phflack:

interesting idea, either that or you could have a random variable with a large range, and counts down quickly, when it hits 0 then it does the event?

Space Guy:

Put two 1x1 bricks a set distance apart, one named "timer" and the other "hit"

For timer:
onRelay -> Self -> spawnProjectile ["10 0 0"] [Radio Wave] ["5 0 0"] [1.000]

For the other:
onProjectileHit -> do whatever

When you fire a relay on timer, the events on the second will happen in a set time +/- 50%

phflack:

that would work too, although i do like the variable method, because you can target specific events easily

Pages: (1/1)

Go to full version