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
141
S
68
G
17
Posts: 1,769
Reputation: 20,124

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
33
S
5
G
8
Posts: 1,210
Reputation: 7,046

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
141
S
68
G
17
Posts: 1,769
Reputation: 20,124


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests