I was wondering if there is a way to modify the timer? A person has 5 minutes to get to work, but every time the bus drives passed them, 1 minute goes automatically. Also the bus ride goes down 2 minutes as well. Is there a way to do this? To change the timer as it's running?
Modifying timer? Decreasing it by 1 minute?
● ARCHIVED · READ-ONLY
-
-
You can either use a scipt call, like this:
$gameTimer._frames = $gameTimer._frames - 600;
Replace the 600 with the number of frames you want to subtract from the timer (1 second = 60 frames).
It might also be a good idea to check if the time left would be negative, and in that case set the timer to 0, like this:
if ($gameTimer._frames - 600 > 0) {
$gameTimer._frames = $gameTimer._frames - 600;
} else {
$gameTimer._frames = 0;
}
Or you can use a plugin like this one:
http://forums.rpgmakerweb.com/index.php?/topic/54387-timer-expansion-mv-v10/#comment-535464
The download link is a bit broken, you can find the plugin here:
http://pastebin.com/raw/iuhzZqLV
Hope that helps :)