Stop Loop

Discussion and feedback on Construct 2

Post » Tue Jun 30, 2015 4:59 pm

Is the system action 'stop loop' able to stop the array object looping?
B
17
S
4
G
1
Posts: 203
Reputation: 1,583

Post » Tue Jun 30, 2015 5:02 pm

No, you have to use the System.For events.
ImageImageImage
B
71
S
22
G
248
Posts: 3,761
Reputation: 138,073

Post » Tue Jun 30, 2015 6:37 pm

How do i stop array for loop?
B
17
S
4
G
1
Posts: 203
Reputation: 1,583

Post » Tue Jun 30, 2015 6:38 pm

You don't you use the system commands.
ImageImageImage
B
71
S
22
G
248
Posts: 3,761
Reputation: 138,073

Post » Wed Jul 01, 2015 4:46 pm

ok, i will try it. Thank you.
B
17
S
4
G
1
Posts: 203
Reputation: 1,583

Post » Thu Jul 02, 2015 3:25 am

How come stop loop doesn't let you specify which loop to stop?
B
151
S
75
G
20
Posts: 1,793
Reputation: 22,749

Post » Fri Jul 03, 2015 9:58 am

i think u have to add a new condition
if 'loopindex equal to the index',stop loop
B
17
S
4
G
1
Posts: 203
Reputation: 1,583

Post » Fri Jul 03, 2015 10:05 am

alspal wrote:How come stop loop doesn't let you specify which loop to stop?



You call the stop loop in/from the loop in which it resides.
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests