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
54
S
14
G
10
Posts: 287
Reputation: 7,642

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
373
S
218
G
84
Posts: 23,450
Reputation: 186,140

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
54
S
14
G
10
Posts: 287
Reputation: 7,642


Return to How do I....?

Who is online

Users browsing this forum: Cryttexx, KNTMartin, newt, ridhoemgl and 9 guests