This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Im trying to do a very simple timer that just counts time remaing staring from 300 seconds and disappering after that.
What triggers do I need for this? I have created timer but I don't know how to get it work.
@Terhonator: Go
You'll need to create a timer and create a timer window for that timer. If you want to be able to destroy / hide the timer window once the timer has reached 0, you should also set a variable to that timer window so you're able to refer to it later.
Test Timer Events Game - Map initialization Local Variables Conditions Actions Timer - Start TimerVar as a One Shot timer that will expire in 300.0 Real Time seconds Timer - Create a timer window for (Last started timer), with the title "Game Ends In:", using Remaining time (initially Visible) Variable - Set TimerWindowVar = (Last created timer window)
And in a later trigger...
Timer - Destroy TimerWindowVar
Thanks for answer. I still need more help with first trigger "Timer - Start TimerVar as a One Shot timer that will..."
"TimerVar" is variable right? Do I need variable named "TimerVar"?
So basicly: What I need to do before / after I click green word "Timer"? Picture above.
Thanks. I figured out rest by myself:
I created variable named "Variable for timer" and set it type to "Timer"
My triggers for working timer in picture above.
Im trying to do a very simple timer that just counts time remaing staring from 300 seconds and disappering after that.
What triggers do I need for this? I have created timer but I don't know how to get it work.
@Terhonator: Go
You'll need to create a timer and create a timer window for that timer. If you want to be able to destroy / hide the timer window once the timer has reached 0, you should also set a variable to that timer window so you're able to refer to it later.
And in a later trigger...
Thanks for answer. I still need more help with first trigger "Timer - Start TimerVar as a One Shot timer that will..."
"TimerVar" is variable right? Do I need variable named "TimerVar"?
So basicly: What I need to do before / after I click green word "Timer"? Picture above.
Thanks. I figured out rest by myself:
I created variable named "Variable for timer" and set it type to "Timer"
My triggers for working timer in picture above.