- Joined
- Mar 28, 2021
- Messages
- 6
A certain timer with an integer variable is set. It works fine in game - counting from fifty to around twenty. However, numbers stop appearing at approximately fifteen 'second' mark. I cannot see why.
-
Events
-
Unit - A unit enters Vicinity of Arena <gen>
-
-
Conditions
-
Actions
-
Set VariableSet IntegerCountdown = 49
-
Floating Text - Create floating text that reads Countdown reset; ne... at (Center of Countdown Timer1 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
Wait 1.00 seconds
-
Floating Text - Destroy (Last created floating text)
-
For each (Integer A) from 1 to IntegerCountdown, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
IntegerCountdown Greater than or equal to 0
-
-
Then - Actions
-
Floating Text - Create floating text that reads (String(IntegerCountdown)) at (Center of Countdown Timer1 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
Wait 1.00 seconds
-
Floating Text - Destroy (Last created floating text)
-
Set VariableSet IntegerCountdown = (IntegerCountdown - 1)
-
-
Else - Actions
-
-
-
-