Question about Wait action.

Get help using Construct 2

Post » Wed Oct 19, 2011 10:07 am

Let's say we have a vague situation like this:

Condition 1
-- Condition 2 -- Wait 1 s
---- Condition 3 -- Action

If Condition 1 becomes false AFTER the wait is triggered, but before the time is up to move onto Condition 3, will it still move on when the time is up?SullyTheStrange2011-10-19 10:07:47
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Wed Oct 19, 2011 2:30 pm

That's not vague at all. Once Condition 1 and 2 are tested they are not tested again. Wait literally just means wait then carry on from where it is currently at. By the wait action it's already tested all the conditions before it so it won't check them again.

However, since Condition 3 hasn't been tested yet, if it becomes false during the wait, it won't run after the wait.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Wed Oct 19, 2011 4:27 pm

Thanks, that clears things up.
B
20
S
9
G
6
Posts: 607
Reputation: 6,112


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, LeFuji, MChiz, plinkie, Radulepy and 0 guests