How To Leave a For Each Loop in Array

Discussion and feedback on Construct 2

Post » Tue Jan 27, 2015 8:13 pm

Hello,

i loop through an array with FOR EACH, when i found what i am looking for
i want to leave the loop. How i do this?

System Stop Loop doesn't work.
B
11
S
2
Posts: 213
Reputation: 1,266

Post » Tue Jan 27, 2015 11:15 pm

Don't use Array.ForEach, use System.For, then you can use System.Stop
ImageImageImage
B
71
S
21
G
231
Posts: 3,691
Reputation: 129,358


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 29 guests