Get random time

Get help using Construct 2

Post » Thu Aug 22, 2013 3:54 pm

Hi everyone. I tried looking for a solution for my problem in the forum and didn't get anything

I need to spawn an object every X seconds. Thats simple, but i need X to be a random number between 1 and 4.

To make it clear, i need random objects (in a family already) yo respawn in random periods of time. Lets say a box will spawn, after 1 second another, after 2 seconds another, after 1 seconds another after 5 sefconds another one.

I hope i made my self clear hahaha.
B
7
S
2
Posts: 14
Reputation: 903

Post » Thu Aug 22, 2013 4:02 pm

System every random(0,5) seconds - spawn box?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Aug 22, 2013 4:05 pm

Omg, that was easy hahhaah thanks
B
7
S
2
Posts: 14
Reputation: 903


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 21 guests