I don't have the editor in front of me and I'm on a iPhone but I'll try.
1) Open the trigger editor
2) create a globals variable, called "Timer", and set the type to timer.
3) create a trigger: for the event make it "map initialization", and for the action make it "StartTimer". For the actions setting, set the timer to the global variable "Timer", repeat to "true/on/yes" whatever it's called, and for the time amount set it to "5".
4) make another trigger: for the event look for one under timers for when the timer ends. For the action, create a debug message (while in actions use the search bar for debug) for player one with thr message "timer has gone off".
All this will do is when the map starts the first trigger will tell thr global timer to start running, end every five seconds, and thrn repeat. Thr second trigger will catch everytime the timer ends and print out the message.
If this doesn't help I'll have to try again later at home and with pictures.
well that helps me understand how to make it better... but even after giving it a window moving it to 0,0 and showing the window.. i cant see it.
i currently have a trigger that shows a dialog and text that changes every second... but thats just not good for the trigger amounts in the game.. its a 30 second timer so with just the countdown it has 60 trigger events and i have two of them in the game, so thats 120 with just the timers which are turned on and off and reset and more during the match.. making very large numbers very fast.
I'm don't get what your saying. Could you post the code so I can see what your trying to do? Or better yet attach the map (?and deleted anything you don't want anyone to see?). I have no idea why'd you have 60 events running on a timer.
well its not on a "timer" its on a dialog that's text changes every one second, well it did. I have it set now from 30-25-20-15-10-5-4-3-2-1 so its quite a bit less but still not just a timer that counts down from 30 automatically.
I've updated the attachment with another trigger to help you find the correct position for the timer window. Simply click the mouse anywhere on the screen and you'll get a message with that x/y position.
As for the 0,0 position not working. 0,0 is the top-left of the screen and the timer window is moved by the bottom-right of the window. Therefore, the window is there but you've moved it off the screen.
I need to go to sleep very soon. So if I don't reply I'll look again tomorrow.
well your map has clarified my worst fear! lol.. its my custom UI hidding my timer windows, as well as my leaderboard i just spent hours on xD lol.. and the movement of my map requires the bottom of the screen to be clear, so i need to find out what in my ui is causing the loss of leaderboards and timers if not just the fact that im using a custom ui file.
Edit: nvm my map works fine with the regular ui in tact, Thanks alot for the help :)
i need help creating a timer, i found 1 tutorial on it on google.. just 1... and it doesn't work lol.. sooooooo im asking here...
Help a baddie out... Teech Meh Teh Weighs Oof Teh Timah!!! plox.
I don't have the editor in front of me and I'm on a iPhone but I'll try. 1) Open the trigger editor 2) create a globals variable, called "Timer", and set the type to timer. 3) create a trigger: for the event make it "map initialization", and for the action make it "StartTimer". For the actions setting, set the timer to the global variable "Timer", repeat to "true/on/yes" whatever it's called, and for the time amount set it to "5". 4) make another trigger: for the event look for one under timers for when the timer ends. For the action, create a debug message (while in actions use the search bar for debug) for player one with thr message "timer has gone off". All this will do is when the map starts the first trigger will tell thr global timer to start running, end every five seconds, and thrn repeat. Thr second trigger will catch everytime the timer ends and print out the message.
If this doesn't help I'll have to try again later at home and with pictures.
well that helps me understand how to make it better... but even after giving it a window moving it to 0,0 and showing the window.. i cant see it.
i currently have a trigger that shows a dialog and text that changes every second... but thats just not good for the trigger amounts in the game.. its a 30 second timer so with just the countdown it has 60 trigger events and i have two of them in the game, so thats 120 with just the timers which are turned on and off and reset and more during the match.. making very large numbers very fast.
I'm don't get what your saying. Could you post the code so I can see what your trying to do? Or better yet attach the map (?and deleted anything you don't want anyone to see?). I have no idea why'd you have 60 events running on a timer.
well its not on a "timer" its on a dialog that's text changes every one second, well it did. I have it set now from 30-25-20-15-10-5-4-3-2-1 so its quite a bit less but still not just a timer that counts down from 30 automatically.
I've updated the attachment with another trigger to help you find the correct position for the timer window. Simply click the mouse anywhere on the screen and you'll get a message with that x/y position.
As for the 0,0 position not working. 0,0 is the top-left of the screen and the timer window is moved by the bottom-right of the window. Therefore, the window is there but you've moved it off the screen.
I need to go to sleep very soon. So if I don't reply I'll look again tomorrow.
well your map has clarified my worst fear! lol.. its my custom UI hidding my timer windows, as well as my leaderboard i just spent hours on xD lol.. and the movement of my map requires the bottom of the screen to be clear, so i need to find out what in my ui is causing the loss of leaderboards and timers if not just the fact that im using a custom ui file.
Edit: nvm my map works fine with the regular ui in tact, Thanks alot for the help :)