HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Visable Timers? Can it be done? Like in SC Single Player Map 3

10-22-2002, 04:35 AM#1
Guest
Just like my subject says I want to create a value on my leaderboard that shows the time progressed in the match so far. I know that you could have countdown timers in Starcraft, example of this is in the single player campaigns the third map uses one of these timers as you must survive for 30 minutes, and I'm pretty sure i remember the last level of the single player warcraft map having a countdown timer too. Anyway can this be done? I want to show the time that has passed in the match and have it look well... like a clock i guess. Not graphically but like this 00:12:36 Hr:Min:Sec
10-22-2002, 12:14 PM#2
Guest
Ummmm....try using a Countdown Trigger. Look through the action list until you find it. It's not very complex, but post back if you need help.
10-22-2002, 08:11 PM#3
Guest
I found the triggers now but I cannot figure out how to make a timer that will actually count upwards rather than counting down. I don't want the timer to do anything other than show the players how long the map has been running. Also I can't even figure out how to make a timer that counts downward that actually shows up on the map. Can somebody please walk me through this one.
10-23-2002, 01:25 AM#4
knightking
I'm pretty sure there is a countup option... but if there isn't, you can do what we had to do in sc. Have a trigger that every second adds two seconds to the time.
10-23-2002, 02:20 AM#5
Guest
you could try and make it show up on a leaderboard, with the timer viewage being updated ever second. and you could have it in the 00:00:00 format as well. Just muck around with the strings and name of player config type stuff eg.

Make a leaderboard with player Neutral or something. Set it to whatever colour you want and then just set the number. It might be a little complicated, if you need some help I can try and do a more detailed explination.

The other way you could do it is to use the "Game - Display to all players blah for amount seconds" then all you have to do is just make a trigger that goes something like...

Event: Every 1 second
Action: Display Game - Display to all players 00:00:00 for 1 second and use variables and stuff to update the timer and stuff.

I would have to play around with this as well, but if you need a hand I can look into it.
10-23-2002, 09:06 AM#6
Guest
I've tried all night to add a timer to my current leaderboard which shows the elapsed time of the game, but to no avail. I know that helping with this is quite a pain in the *** but if you are willing I would appreciate it sooo much. And I hate to ask for even more but if you do reply with a solution and variables are used please tell me what the variables are and how to define them rather than just using something like (integer(variable)) blah blah (variable).... Again if you can help me with this it would help me out sooooo much.
10-23-2002, 07:16 PM#7
Guest
I'm moving this conversation to this thread. I think the subject for this thread is pretty bad and I don't think many people are going to look at this. Moderators feel free to nuke this thread but please leave the new thread: http://www.wc3campaigns.com/forums/s...&threadid=5670