In my game you're under a timer that never resets till gameover.
However, completing small Mini-Missions along the way will add more time to the clock.
I looked around and I know how to make a timer but I am still not sure what eventing or scripting could make adding to it possible. Can you help me?
Adding to a ticking timer.
● ARCHIVED · READ-ONLY
-
-
You just do a new Set Timer call.
Although somebody did just post a script the other day for an advanced timer that lets you add and deduct time from it. Check out the RGSS3 Scripts forum (just not sure if the mods in that area have approved it yet). -
Thank you, and I'll check out the script.
-
It sounds like the script Shaz mentioned might be exactly what you need.
If not, though, you could do away with the default Timer function entirely, and use a variable to track how many seconds the player has left before Game Over (have a Parallel Process subtract one from the variable, then wait 60 frames). The disadvantage is that you'd need to script a new window if you wanted to constantly display how much time the player has left (not too hard to do). The advantage is that it gives you a ton more control over modifying the clock, tying in events or dialogue to how much time you have left, etc.
The whole idea of a game based around this is absurdly cool, by the way! -
Thank you and this script works excellently if I could script myself I would try your idea.
-
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.