HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Timer Question

03-02-2003, 07:09 PM#1
Loofy
I have a 5 minute timer on my map. But I want originally it to be a 2 minute timer.

Basically there are two timers.

First one is 2 minutes and if after it expires the 5 minute timer is turned on permanently. Ideas? Thanks :D
03-02-2003, 07:19 PM#2
DaKaN
i dont quite follow you.. you want the 2 min timer to count, then start a 5.. i dont see what the problem is, when the first expires, create a new timer and set it to 5
03-02-2003, 07:50 PM#3
rwxr-xr-x
You can create a single timer variable for this purpose. In your map initialization, create a 2 minute one shot timer. Then have a trigger that detects when that timer ends, destroy the timer, create a new one that is a recurring 5 minute timer, and turn the trigger off.
03-03-2003, 10:00 PM#4
Loofy
Aren't you supposed to say that cannot happen, it's impossible to do? :D


Rwxr-xr-x is an evil man. Watch out for him. He knows al lthe triggering secrets.
03-03-2003, 10:34 PM#5
FyreDaug
I thought it was pretty straight forward...
03-04-2003, 09:20 PM#6
Aiursrage2k
Simplest method is as follows, create a timer that only happens one time. Make a second trigger to catch when this timer expires, then create your second timer (repeating or not it does not matter). Make a third trigger to catch when the second timer expires, and then do whatever you wish. More then likely you will want each timer to have its own timer window.
03-04-2003, 09:28 PM#7
rwxr-xr-x
Quote:
Originally posted by Aiursrage2k
Simplest method is as follows, create a timer that only happens one time. Make a second trigger to catch when this timer expires, then create your second timer (repeating or not it does not matter). Make a third trigger to catch when the second timer expires, and then do whatever you wish. More then likely you will want each timer to have its own timer window.


My method only requires one trigger :ggani: