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
139
S
70
G
17
Posts: 1,770
Reputation: 20,380

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
36
S
7
G
9
Posts: 1,218
Reputation: 7,837

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
139
S
70
G
17
Posts: 1,770
Reputation: 20,380


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests