playMaker

Author Topic: Timer [SOLVED]  (Read 2493 times)

Andys

  • Playmaker Newbie
  • *
  • Posts: 30
Timer [SOLVED]
« on: May 26, 2013, 03:53:05 PM »
What is the easiest way to create a timer?

The function is, on clicking the start button, i need to time the object moving until it hits a trigger/collider and then display the time on screen.

The display on screen is no problem for me, but the timer part is causing me problems, any help would be appreciated

thanks

Andy
« Last Edit: May 27, 2013, 03:13:45 PM by Alex Chouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
  • Official Playmaker Support
    • LinkedIn
Re: Timer
« Reply #1 on: May 26, 2013, 05:28:31 PM »
Take a look at the Get Time Info action.

E.g., use Time in Current State or store the start time and subtract that from the end time...

Andys

  • Playmaker Newbie
  • *
  • Posts: 30
Re: Timer
« Reply #2 on: May 27, 2013, 10:42:47 AM »
Thanks, works perfect :)