In short, i used my brain, and even had a search here;
All the threads coming up were old and outdated, and even when i tried it didn't seem to work ; so i'm doing something wrong...
Real simple- I have managed to get the timer window on the top right, but its stuck at :
00:00:00
I have tried using variables, all to no avail..
So could some one please be kind enough to set up a trigger with a 20 second timer that stops after 20 seconds and destroys the timer window, and screencap?
Thank you.
TRIGGER 1.
EVENT
map initialisation or whatever you want it to be
ACTION
Timer - start <timer> as a [one shot] time that will expire [20] [real time] seconds.
Timer - create a timer window <timer> with the title [oh knoews] using [remaining] time (initially visible).
Trigger 2
EVENT
[Last Started Timer] expires
ACTION
Hide [Last created timer window] for All Players
Optionally you could also add a timer window variable and set that after u make it and then when u want to destroy it, just hide it instead of last created window
In short, i used my brain, and even had a search here;
All the threads coming up were old and outdated, and even when i tried it didn't seem to work ; so i'm doing something wrong... Real simple- I have managed to get the timer window on the top right, but its stuck at :
00:00:00
I have tried using variables, all to no avail.. So could some one please be kind enough to set up a trigger with a 20 second timer that stops after 20 seconds and destroys the timer window, and screencap? Thank you.
Hi there.
First make a variable:
timer <timer>
TRIGGER 1.
EVENT
map initialisation or whatever you want it to be
ACTION
Timer - start <timer> as a [one shot] time that will expire [20] [real time] seconds.
Timer - create a timer window <timer> with the title [oh knoews] using [remaining] time (initially visible).
Trigger 2
EVENT
[Last Started Timer] expires
ACTION
Hide [Last created timer window] for All Players
Optionally you could also add a timer window variable and set that after u make it and then when u want to destroy it, just hide it instead of last created window
Any reason you would hide it instead of destroy it? I destroy my timer windows, but if there's a reason not to, I can change it.
Ah yes you would destroy it, i just copied a trigger from my map and i actually reuse it as soon as it ends.
@Torrak: Go
Could you be more specific with the Variable please; as what you have there is what I have already :/
@Jihaut: Go
Really NEED this :/
Make a global variable of the type timer.
@Wakeman:
As said above, yes you would destroy the timer window. not just hide it.