Problems with LOOP

I'm trying to cycle from 1 to 30 and reset level lock.

I set game.tempInt to 2

Then I loop while (all) attribute game.tempInt <= 30

I have my commands in the loop, including a change attribute game.tempInt = game.tempInt+1

Among the commands is a log statement (the first statement in the loop). It never gets executed.

Am I setting up the loop behavior correctly?

I've also tried loop until tempInt > 30 and that doesn't work either.

Using Mac 13.8.0

Comments

Sign In or Register to comment.