playMaker

Author Topic: Convert int to Time Span  (Read 1424 times)

realrobo

  • Playmaker Newbie
  • *
  • Posts: 23
Convert int to Time Span
« on: November 07, 2016, 10:39:40 AM »
Hello,
I am looking to convert a countdown(int) to display as time span.  Could anyone help me how I should go about it?
Any help would be appreciated.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Convert int to Time Span
« Reply #1 on: November 07, 2016, 12:26:03 PM »
Hi,
maybe you can use the custom action "countdown timer"
You can find it on the Ecosystem
Then to display you can use the action "float to string" and in format you can set '0' for only seconds.
then you can display the string.

if are using the canvas you should get the "ugui proxy full' on the Ecosystem
and use the action ugui text set text to display the seconds.