For Each Element in Array

Get help using Construct 2

Post » Sat Jun 21, 2014 7:21 pm

I just learned how to use for each element in array condition,but i want to know if i can pick a range of elements like from X=5 to X=10 because i don't want the system to go through all the element.
B
17
S
4
G
1
Posts: 203
Reputation: 1,583

Post » Sat Jun 21, 2014 8:19 pm

Just use System:For.
ImageImageImage
B
71
S
21
G
222
Posts: 3,652
Reputation: 124,733

Post » Sun Jun 22, 2014 6:34 pm

if i go that way ,how to obtain current array expression?
B
17
S
4
G
1
Posts: 203
Reputation: 1,583

Post » Sun Jun 22, 2014 6:40 pm

array.At(loopindex)
ImageImageImage
B
71
S
21
G
222
Posts: 3,652
Reputation: 124,733

Post » Sun Jun 22, 2014 6:49 pm

thank you!
B
17
S
4
G
1
Posts: 203
Reputation: 1,583


Return to How do I....?

Who is online

Users browsing this forum: SputnikCZ, UberLou and 2 guests