How can I create a table loop?

3absh3absh Member Posts: 601
edited December 2016 in Working with GS (Mac)

So here's the deal..
I have a sword that changes colors every level increase then loops all over and starts again every 10 levels.
This is the rule i came up with and it works except for one little issue

The problem with this loop is that Mod(10,10) equals Zero
and since there is not Row Zero in the table that has the color value of the sword then sword simply stays at color of row number 9

How can I use the Mod function for 10 referenced values on a table?

Comments

Sign In or Register to comment.