Pause Timer

Naveed

Veteran
Veteran
Joined
Nov 2, 2013
Messages
314
Reaction score
146
First Language
English
Primarily Uses
RMMV
So I was wondering if there was a way to pause the timer using script calls. It would be unfair for the player to have to lose precious seconds of the timer simply because there is a cutscene that is playing in between. I know the option isn't there from the event commands, so I thought if it was possible with a script call, or would it need an external plugin?

P.S: If it does require a plugin, feel free to move this to Plugin requests, or please provide a link to an existing plugin that has this feature.

Thanks in advanced ^_^
 
Last edited by a moderator:

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
Yes.

$gameTimer.stop()If you want it to resume, you can say

Code:
$gameTimer.start($gameTimer.seconds() * 60)
However, note that when the timer is paused, it will automatically disappear because that's how the timer sprite is coded.Alternatively, if you use this plugin: http://forums.rpgmakerweb.com/index.php?/topic/50884-timer-pause/

You can pause and resume the timer while keeping the timer on screen using the following script calls

Code:
$gameTimer.pause()$gameTimer.resume()
 
Last edited by a moderator:

Naveed

Veteran
Veteran
Joined
Nov 2, 2013
Messages
314
Reaction score
146
First Language
English
Primarily Uses
RMMV
Thanks a bunch! This is exactly what I needed ^_^
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,090
Members
137,586
Latest member
Usagiis
Top