Break long "do.. wait.." sequence

Get help using Construct 2

Post » Sun Sep 16, 2012 3:58 pm

I've made a lot of long "do X, wait 2 seconds, do X, wait 2 seconds, do X, wait 2 seconds, etc." sequences.
How to break/stop this sequence (if player presses button)?
B
55
S
14
G
10
Posts: 287
Reputation: 7,677

Post » Sun Sep 16, 2012 4:14 pm

Add a subevent after each 'Wait' that checks some condition is still true, e.g. 'enabled' is still '1'.
Scirra Founder
B
386
S
229
G
87
Posts: 24,207
Reputation: 191,572

Post » Sun Sep 16, 2012 4:19 pm

Damn, I hoped not to do it this way... But I see I'll have to.
Thanks for your answer.
B
55
S
14
G
10
Posts: 287
Reputation: 7,677


Return to How do I....?

Who is online

Users browsing this forum: Aquanex2, R0J0hound, tarek2 and 1 guest