-
countdown timer
hi.
im making a game and i need to have a countdown timer that will count down from 15. i tried using the timer functions but they weren't much use. i have created an edit box with a variable name of time. in the starting script i have put
time = 15
and then in a seperate script i have put
time - 1
and made that script run every 30 frames becuase the file is playing at 30 fps. when i run the game the edit box just stays on 15. how can i fix this?
Sterny
-
Either
time=time-1
or
time-=1
both should work.