The modulo (%) operator finds the remainder of the division of a number by another. As an example, 7 % 3 = 1, 8 % 4 = 0 and so on. index %= 49 makes sure that index can't exceed 48; it will be set to 0, 1, 2, ..., 47, 48, 0, 1, 2... as index is incremented.
Re: AUM 27 ai code - value limiting
[Re: George]
#251479 02/13/0909:4902/13/0909:49
I get it. I count first 3 values and get that circle i just think now, why i don't count it before, cause i know what is modulo... but thanks for reply
The smaller the bug, the harder it is to kill. _________________________________________ Forklift DEMO (3dgs)