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
137
S
67
G
17
Posts: 1,766
Reputation: 19,992

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
26
S
3
G
6
Posts: 1,199
Reputation: 5,649

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
137
S
67
G
17
Posts: 1,766
Reputation: 19,992


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests