Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: MarkD on June 04, 2020, 05:50:14 PM
-
Hey folks, I need a count down timer in the form of minutes and seconds. I was hoping to find one on the Ecosystem but unless I'm just failing at my search criteria, there doesn't seem to be one.
I can write an FSM to do it for me, but I was hoping for an action where I could just put in the minutes or seconds and it converts it for me into a string formatted by MM:SS. Anyone know of anything out there that maybe I'm missing?
-
Hi.
There is a Countdown Timer i made on the Ecosystem.
Store the result.
To display the way you wish to, use 'Convert Seconds To String' and set the correct format.
-
This is perfect. Thank you!
-
Sorry to dredge this up but I've tried this, and I'm getting up to 99 seconds if I format the string as 00.00 ... how do I lock the string to work in blocks of 60 instead of decimals? Clocks/timers dont use decimals.
-
Hi.
divide by 60 i guess
-
What use would that be? Dividing 100 seconds by 60, for example, wouldn't correctly turn it into 1m:40s it would give you 1.6666 minutes.. and thats not how clocks work.
-
Hi.
Sorry I misunderstood.
have you tried the action : Convert Seconds To String