modulo operator %# limit attribute step confine to range
BrackAttack
Member Posts: 22
I had a heck of a time searching for the Gamesalad brain trust on this: modulo operator %# limit attribute step confine range. It is a difficult search que.
I would like an attribute to cycle between 1, 2, and 3. However (game.StepAttribute+1)%3 resets back to 0. is there a way to have it skip zero, and go 1, 2, 3, 1, 2, 3?
I would like an attribute to cycle between 1, 2, and 3. However (game.StepAttribute+1)%3 resets back to 0. is there a way to have it skip zero, and go 1, 2, 3, 1, 2, 3?