Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: mikejkelley on July 10, 2015, 07:14:00 AM

Title: Reset Time Since Lvl Load on Reload?
Post by: mikejkelley on July 10, 2015, 07:14:00 AM
I have a random spawn fsm that depends on Time Since Lvl Load initializing at 0. However, when I restart/(re)load the level, it seems as if the Time Since Lvl Load clock doesn't restart. It keeps time through the reload. Is this the case? What's the work around?
Title: Re: Reset Time Since Lvl Load on Reload?
Post by: djaydino on July 10, 2015, 11:13:23 AM
Hi,
Maybe you can use the action "Get Time Info" and set it time in current state.

if it does not work when it is in the inside she start state, you can put it in a different state and use next frame action on the start state.
Title: Re: Reset Time Since Lvl Load on Reload?
Post by: mikejkelley on July 10, 2015, 08:54:44 PM
I'll try that, thanks! :)