Hello again,
Just a quick question here. If I set a timer with "set timer", is there a way to "add time" to that timer with the set timer function?
For example - I have timer "0" set to 300 seconds and it will decrement by 1 every 18 ticks (1 second roughly). Can I then use a command similar to :
"set timer (0, +60, 18, etc, etc, etc)"
to add or subtract from the timer?
I've never been great at this scripting stuff, so to boil it down:
I want a timer that counts down, when it hits zero something happens. I want there to be items/events that can either increase or decrease the length of the timer and have it continue running with the new length. What is the best way to achieve this?
Regards.
Quick question on "Timers"
Moderators: marionline, SDHawk
Quick question on "Timers"
vvight.wordpress.com
"Just off the top of my head, maybe have the timer repeat itself every 1 sec/18 ticks while decrementing a global variable that's an integer value of the seconds left? Then other things in the script can reduce or increase the value of that variable in bursts, from penalties or bonuses."
Would this still work during battles? I plan on having the timer running at all times. Again, I'm not terribly clued on scripts sorry.
Would this still work during battles? I plan on having the timer running at all times. Again, I'm not terribly clued on scripts sorry.
vvight.wordpress.com