Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Splankton on June 19, 2014, 11:12:14 AM

Title: Timer Stop[SOLVED]
Post by: Splankton on June 19, 2014, 11:12:14 AM
Just a quick question,
I have a simple timer inside a START global event and I have a STOP global event that gets called.  If I use something like Get Event Info and get the float value from the time, it returns 0.  I think its because the timer uses every frame, so when the START event is not active the float is then 0.
So how can I  return the float value from my timer, inside my STOP event?
Thanks
Title: Re: Timer Stop
Post by: sebaslive on June 19, 2014, 11:21:39 AM
You can try doing an operator that adds the timer to a separate float value and then you keep that when you go to the stop.
Title: Re: Timer Stop
Post by: Splankton on June 20, 2014, 12:42:25 PM
You can try doing an operator that adds the timer to a separate float value and then you keep that when you go to the stop.

Of course :) thanks for your help.