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
134
S
65
G
16
Posts: 1,765
Reputation: 19,188

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
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

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
134
S
65
G
16
Posts: 1,765
Reputation: 19,188


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests