A Countdown Timer
DepressedPanda
Member Posts: 215
Hey gents, having trouble with this one.... I know it's possible and I SHOULD know how to do it but I'm drawling a blank...
I want a timer in the format of 00:00:00, that's 00hours, 00minutes, and 00seconds to countdown. I'd like to use an attribute to keep track of the timer so I can have it countdown from a set time.
I'd assume it'd be easiest to set the attribute then...
timer: every 1 sec
set attribute %attribute -:01
but I'm having trouble with the formatting and storing the variable in a timer/clock format.
Any help?
I want a timer in the format of 00:00:00, that's 00hours, 00minutes, and 00seconds to countdown. I'd like to use an attribute to keep track of the timer so I can have it countdown from a set time.
I'd assume it'd be easiest to set the attribute then...
timer: every 1 sec
set attribute %attribute -:01
but I'm having trouble with the formatting and storing the variable in a timer/clock format.
Any help?
Comments
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User