Horror / Survival RPG - need specific kind of Timer

● ARCHIVED · READ-ONLY
Started by Gemini 1 posts View original ↗
  1. Hello fellow game makers,

    I am new to this website, so apologies in advance if this isn't the correct place to put my questions.

    I am looking for a script that will allow my game to be able to do this:

    The player will have access to an inventory full of candles.

    There is 1 candle for each character in the game (13 total)

    When the candle is lit, I have Khas' Awesome Lighting Effects Script to create light surrounding the player.

    I would like a timer to count down from 10minutes toward 0 minutes, when the candle is lit. (candles will be lit from the inventory-menu)

    When the timer reaches 0, that candle disappears and the item is gone.

    I would like the player to have the option to extinguish the candle early...let's say, they want to stop it after it was burned for 5 minutes 35 seconds. I would like the timer to still have 4 minutes 25 seconds remaining, in case the player chooses to re-light the candle. If they re-light it, the timer ticks down to 0 from 4min 25sec. So basically, I need a pause feature.

    I would need to be able to make 13 instances of this timer, and for it to save its current time-value to the candle item. (so candle 1 might have 7mins 41sec remaining, candle 2 could be 10mins remaining, candle 3 could be 1min 24sec remaining, etc etc)

    The timer's would have to persist through wandering to all maps, and they should be saved between gaming sessions. (If someone uses 6 minutes up, then they save and turn off the game, when they come back, and light it, they should only have 4 minutes left on that particular candle.

    I think Shaz's Extended Timers does some of what I need, but I don't believe it was able to pause the specific timer and save its current time to an item.

    If anyone could suggest what to try, that would be awesome. I'm not knowledgeable at all about programming, but I'm mostly functional in the rest of the VX Ace program, so keep that in mind if giving advice

    Thank you in Advance,

    Gemini