I'm looking to make a loop and spawn objects in a couple of rows and columns in that loop with a system->create object action. I'd like to avoid using a counter variable when I already have loopindex to work with.
So this successfully increases the Y coordinate every 3 spawns:
190*(round((loopindex-1)/3))
Now how do I make X to increase 3 times and then go back to zero or 1?
It should be different than the one for Y because Y stays the same for every 3 spawns, then increases. X should increase every spawn and then go back.
Thanks!