Object at random time

Get help using Construct 2

Post » Wed May 29, 2013 9:34 pm

I'm looking the way to create a object at random time!!!
B
4
S
1
Posts: 21
Reputation: 776

Post » Wed May 29, 2013 9:38 pm

Please be more clear. Nobody is gonna answer questions like that. Like, I mean, from what time to what time? from 0.1 seconds to 99999999 hours? P:0:OTIS LET THIS BE LESSON FOR YOU!
HARMLESS SIGNATURE THAT IS VIEWED BY OTHERS AS OFFENSIVE AND CONTROVERSIAL
B
14
S
3
G
3
Posts: 356
Reputation: 4,377

Post » Wed May 29, 2013 9:43 pm

between 1 - 10 seconds, sorry i'm new here
B
4
S
1
Posts: 21
Reputation: 776

Post » Wed May 29, 2013 9:45 pm

@avinashizhere
you need the system expression every x seconds .
that's every 0.01 seconds to 99999999 hours ..
B
18
S
5
G
7
Posts: 593
Reputation: 7,086

Post » Wed May 29, 2013 9:46 pm

So in a period of 10 seconds, an object appears at random time once?
HARMLESS SIGNATURE THAT IS VIEWED BY OTHERS AS OFFENSIVE AND CONTROVERSIAL
B
14
S
3
G
3
Posts: 356
Reputation: 4,377

Post » Wed May 29, 2013 9:47 pm

loop, after ten seconds again at random time between 0.1 sec to 10 seconds
B
4
S
1
Posts: 21
Reputation: 776

Post » Wed May 29, 2013 9:49 pm

You are familiar with global variables, right?
HARMLESS SIGNATURE THAT IS VIEWED BY OTHERS AS OFFENSIVE AND CONTROVERSIAL
B
14
S
3
G
3
Posts: 356
Reputation: 4,377

Post » Wed May 29, 2013 9:52 pm

yup, i'm a experience scirra user, i'm just stuck with this part.....
B
4
S
1
Posts: 21
Reputation: 776

Post » Wed May 29, 2013 9:58 pm

But you said you are new here!
Well, you can do a loop like this:
A variable is set to a random number between 0.1 and 10
You wait this much seconds
Spawn your object
Wait 10- the ransomed variable seconds

And loop it again, and again, and again.
HARMLESS SIGNATURE THAT IS VIEWED BY OTHERS AS OFFENSIVE AND CONTROVERSIAL
B
14
S
3
G
3
Posts: 356
Reputation: 4,377

Post » Wed May 29, 2013 10:02 pm

can you make a small sample? i'm confused with what you said....btw i'm new here in forum
B
4
S
1
Posts: 21
Reputation: 776

Next

Return to How do I....?

Who is online

Users browsing this forum: R0J0hound, volumetv and 16 guests