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
395
S
233
G
88
Posts: 24,376
Reputation: 193,842

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: ChesVCF, R0J0hound, Solomon, trance and 22 guests