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: 285
Reputation: 7,584

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
362
S
216
G
75
Posts: 23,067
Reputation: 180,331

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: 285
Reputation: 7,584


Return to How do I....?

Who is online

Users browsing this forum: Burvey, Magistross, Yahoo [Bot] and 23 guests