- Joined
- Jun 22, 2004
- Messages
- 783
I bumped into something in the following trigger.
When it hits the loop for the 3rd time, the integer remains 2. (it glitches at 4th time when I use 0.01 and multiply it by 100).
perhaps anyone can explain why this behaves in the fashion it does.
-
microTimer
-
Events
- Time - Every 1.00 seconds of game time
- Conditions
-
Actions
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
- Set microTimer = (microTimer + 0.10)
- Game - Display to (All players) the text: (Micro Timer = + (String(microTimer)))
- Game - Display to (All players) the text: (Timer = + (String((Integer((microTimer x 10.00))))))
-
Loop - Actions
-
For each (Integer A) from 1 to 10, do (Actions)
-
Events
When it hits the loop for the 3rd time, the integer remains 2. (it glitches at 4th time when I use 0.01 and multiply it by 100).
perhaps anyone can explain why this behaves in the fashion it does.