while I usually go to Twilight Sparkle and the gang to 'spread values' such as friendship and cooperation, I just wanted to point out that you don't even need to have a name for the loopindex expression
unless there's some readability problem, or you're using nested loops like
For 0-10 in "xloop"
--For 0-10 in "yloop"
and I believe it will actually result in returning 0 every time when using the 'For Each Object' condition, since these are not named loops.
also, don't forget there's a 'For Each Object Ordered' condition to do things like
which in this case, for example, would do the For Each going from the leftmost sprite to the rightmost, though you can use any ordering expression, such as the Sprite('ID') pv variable you created.
I'm not sure if this would be useful in your situation, but I suspect it might. Though I must admit, looking at the puyo puyo video doesn't immediately tell me what you're trying to do with the ID's exactly.
If you haven't already gotten everything figured out, or if you don't mind elaborating just to satiate my curiosity - are you assigning them an ID based on which vertical space they'll be above?lucid2012-02-03 14:31:53