Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Andys on May 26, 2013, 03:53:05 PM

Title: Timer [SOLVED]
Post by: Andys 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
Title: Re: Timer
Post by: Alex Chouls 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...
Title: Re: Timer
Post by: Andys on May 27, 2013, 10:42:47 AM
Thanks, works perfect :)