System Time CountDown
Hi,
What I'm trying to do is have access to the system time and have a time set up that will be visible to the player that will countdown the time left till the event I create. So basically I want a countdown timer that counts down each second from 15 minutes to 0. When the time reaches 0 it will trigger a rule. However it will need to have access to the system time so if someone closes the app and comes back 10 minutes later it shows only 5 minutes left. Anyone have any idea on how accomplish this?
Thanks
What I'm trying to do is have access to the system time and have a time set up that will be visible to the player that will countdown the time left till the event I create. So basically I want a countdown timer that counts down each second from 15 minutes to 0. When the time reaches 0 it will trigger a rule. However it will need to have access to the system time so if someone closes the app and comes back 10 minutes later it shows only 5 minutes left. Anyone have any idea on how accomplish this?
Thanks
Answers
This has the second, (maybe millisecond) minute, hour, day, month, and year. When the user clicks "Start", take the time they entered in and subtract it by the time it is at the moment.
- 5227
When I tried making the timer what started happening was when I would close the app and open it would start at the time I closed it and not at what time it should have been. So I had a 15 min timer that I let start and after 1 minute I closed the app and waiting a few minutes and came back and it started counting down from 14 minutes and not the 12 minutes or so it should've been at the time. Any ideas on why?
Thanks
http://www.sendspace.com/file/na5vpd