I've got events which spawn an object at a random time, this makes use of time scale.
I've got a problem, I need to reset the time to 0 on when the player dies. For example, the player dies 10 seconds into the game, I click restart or menu button that pops up on screen, I need it to reset the time that has passed to 0.
You can restart the layout or reset global variables, which is no problem but there doesn't seem to be an easy way to set global time to 0.
I was wondering if anyone had a solution.
Thanks for reading :)