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
53
S
14
G
10
Posts: 282
Reputation: 7,578

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
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

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
53
S
14
G
10
Posts: 282
Reputation: 7,578


Return to How do I....?

Who is online

Users browsing this forum: Kagubro and 21 guests