Loop index

For questions about using Classic.

Post » Mon Jul 13, 2009 12:50 pm

So I saw this image on the wiki



If I want to get loop index of that "repeat 4 times" thing would the 'loopindex' thing retrieve that or the "for each sprite" index?
B
151
S
75
G
20
Posts: 1,793
Reputation: 22,749

Post » Mon Jul 13, 2009 1:02 pm

use for not repeat, because it can be named. Then use loopindex("loop") to select which loop to get the index of.
B
48
S
10
G
9
Posts: 1,224
Reputation: 8,449

Post » Mon Jul 13, 2009 1:29 pm

oh awesome, didn't get what you meant by "use for not repeat" at first but then realised there was a loop called "for" lol. thanks!
B
151
S
75
G
20
Posts: 1,793
Reputation: 22,749


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest