playMaker

Author Topic: Reward Ad countdown timer help... [SOLVED]  (Read 2045 times)

HeathClose

  • Full Member
  • ***
  • Posts: 226
Reward Ad countdown timer help... [SOLVED]
« on: February 08, 2017, 12:15:58 PM »
so i've done some searching on the forums and see there are some threads about a timer but I can't seem to find any that explain how to simply countdown 5 mintues... that's all I want to do... I want to show a little 5 minute timer on the ad button for coins and I can't seem to figure it out...

I thought one way would be "get system date time"... add 5 minutes to it... use "get time span between dates" ... actually... just typing it out doesn't even make sense anymore how I was thinking of doing it.. there doesn't seem to be an action anywhere for time conversion...

I see there is an action that dino made called "countdown timer" but I'm not sure how to turn a float into a mm:ss string... i can see the float string.. but 5 minutes in a float just looks silly...
« Last Edit: February 08, 2017, 01:40:13 PM by HeathClose »

HeathClose

  • Full Member
  • ***
  • Posts: 226
Re: Reward Ad countdown timer help... [SOLVED]
« Reply #1 on: February 08, 2017, 01:41:16 PM »
i didn't realize there was a convert seconds to string action with a thread explaining this... I was searching for time and time only...

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Reward Ad countdown timer help... [SOLVED]
« Reply #2 on: February 08, 2017, 01:44:59 PM »
Hi,
Quote
You can use "Convert Seconds To String"
and you can check this topic out how it works

I was just typing this :) but you found it already.

anyway you can stil check this topic out how it works

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Reward Ad countdown timer help... [SOLVED]
« Reply #3 on: February 08, 2017, 02:10:26 PM »
Yeah, it's quite simple to set up. I use the action for a stopwatch in my game to check on level lengths. Countdown timer is set the same way, you just set your time variable to the time you want it to countdown from and adjust the format.

Available for Playmaker work

HeathClose

  • Full Member
  • ***
  • Posts: 226
Re: Reward Ad countdown timer help... [SOLVED]
« Reply #4 on: February 08, 2017, 02:56:14 PM »
thanks guys