How do I repeat an an event after Its done?

Just started using Construct 2? Post your questions here

Post » Tue Jan 26, 2016 4:15 pm

I want to repeat this whole event but I dont know how to do It.I havent messed with global variables yet and I have a feeling I might have to.
Image
B
10
S
1
Posts: 18
Reputation: 555

Post » Tue Jan 26, 2016 4:19 pm

Would system every 2 seconds work for this?
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 » Tue Jan 26, 2016 4:38 pm

I want the Blockade to be destroyed after the rocks have dropped and then the blockade should spawn after 1,5 when the rocks have fallen and rocks should fall 2s after the blockade has spawned.
B
10
S
1
Posts: 18
Reputation: 555

Post » Tue Jan 26, 2016 4:52 pm

You could do this easily with the timer behaviour..

Just create a sprite called "timer", which we'll use for for project-wide timing and give it the timer behaviour..

on start of layout we'll set the timer for 2 seconds..

Replace the time = 2 seconds with an on timer event..

you can restart the timer either in the event itself or in the event that destroys the rock and blockade..
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 » Tue Jan 26, 2016 5:37 pm

What do you mean by saying Replace the time?
B
10
S
1
Posts: 18
Reputation: 555

Post » Tue Jan 26, 2016 5:41 pm

replace that condition with the "on timer" condition..

so remove the condition "time = 2 seconds" add the condition "on timer"
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


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests