Need Help with Timer Decrease/Extend?

Discussion in 'RPG Maker MV' started by Nerdboy, Feb 3, 2017.

    Tags:
  1. Nerdboy

    Nerdboy Veteran Veteran

    Messages:
    78
    Likes Received:
    7
    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.
     
    #1
  2. Shaz

    Shaz Veteran Veteran

    Messages:
    37,308
    Likes Received:
    11,121
    Location:
    Australia
    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.
     
    #2
  3. Nerdboy

    Nerdboy Veteran Veteran

    Messages:
    78
    Likes Received:
    7
    thank you shaz i figured that already, and wrote a small script for myself. but thank you alot for trying help.
     
    #3

Share This Page