I'm having some trouble on a game i'm working on where the loopindex is always -1. I've got a repeat function set up to repeat 100 times and on the 100th iteration I want it to perform an action, the problem is that although this loop is running I've found that setting a text object to the current loopindex just seems to say "-1". Does anybody know if there is a way to get around this?
This is how i've got it set up.
And this is how its displayed (note the -1 which is my text object)
I've also tried setting loopindex to a local variable, but that doesn't seem to work either.