Need Help with Timer Decrease/Extend?

Nerdboy

Veteran
Veteran
Joined
Jan 4, 2017
Messages
78
Reaction score
7
Primarily Uses
Hi, im trying to decrease or extend Timer, but im not sure how to do this. All I can do is stop timer, or start it. Do you need a plugin to do this? Does anyone know where its located in the core .js? Maybe I can write my own.

I've tried storing a variable = Timer, then + or - Timer, but im not sure how to *Set Timer* to variable rate, is it even possible without plugins or writing my own script? thank you.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
39,147
Reaction score
12,420
First Language
English
Primarily Uses
RMMV
$gameTimer._frames += (seconds * 60)
$gameTimer._frames -= (seconds * 60)

substituting seconds for however many seconds you want to increase/decrease the timer.
 

Nerdboy

Veteran
Veteran
Joined
Jan 4, 2017
Messages
78
Reaction score
7
Primarily Uses
thank you shaz i figured that already, and wrote a small script for myself. but thank you alot for trying help.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Kes
Came up with a good name for something. Checked on internet - device trademark filed in India 2017. Back to the drawing board.
I want to see the Features of the new RPG Maker.. NOW!!
Can't wait for it!
KDS
Check out some gameplay of a game iam working on :)
Me : "Wearing glasses is annoying."
*put out glasses*
Also me : "Keep mistaking 0, 6 and 8."
oh god, a new version of RPG Maker is coming soon already....

Forum statistics

Threads
98,126
Messages
949,495
Members
129,408
Latest member
songhuong
Top