;

PDA

Click to See Complete Forum and Search --> : countdown timer


Sterny101
08-14-2005, 09:05 AM
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

blanius
08-14-2005, 09:20 PM
Either

time=time-1

or

time-=1

both should work.