Hello, everyone.
This Script request might be difficult, but I'm not one to tell. I need a Script to record the time progress of the game ignoring whether the progress file has been saved or not. What does it mean? It means that, even if the player dies, resets, or doesn't save the game at all, the time progress must continue.
Missing a lot of infos there.
Do you mean you want a global save file just to record the play time?
How do you want the file to be saved? every second? every 5 second?
What file name?
Note that this is not a HDD friendly option you are asking for, and your player might not like to have a program that write file to the HDD every few seconds. (Some security program might list that down as a threat)
As far as i know, the default game timer will not run unless you are in a game (new game/loaded game), do you want that timer to be replaced? or do you want to have a brand new timer for this? When should the timer keeps running? How do you plan to read the time on the timer? etc etc
What I meant was simply to keep the time counter going, so it'd save the time progress every second. I didn't imagine my question would require much more information, and I thought my explanation was simple enough...
Oh.. I see what you mean now.
If that's so, then it'd be better if I decided not to add that Script. After all, I don't want to bring trouble to other people's computers, I don't want to cause lagging and, of course, I don't want my game to be detected as a malicious file or whatsoever. Fortunately, this is Script can easily be ignored, because it's just something I wanted to do, but nothing that will really affect the game itself.
I'll mark it as solved because it is enough. You convinced me not to add this Script, and you do have a point. More than one, actually. Thanks for all the help.
You are welcome!
If you can explain more on what you want and why you want it, we might be able to suggest an alternative way to do it.