HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Countdown Timer in multiboard?

10-12-2004, 07:28 PM#1
Arkidas
Yes, how can I put countdown timer in multiboard instead of having it in Timer window?
10-12-2004, 07:48 PM#2
Vexorian
Quote:
Originally Posted by Arkidas
Yes, how can I put countdown timer in multiboard instead of having it in Timer window?
You put it on the timer window, There is no reason to have it in the multiboard, but you can try replacing a multiboard item's value each 0.01 to simulate a timer, but a timer window is surely better
10-12-2004, 11:09 PM#3
Miningjrk
Create a new variable as an integer.
Then every second subtract 1 from it and change text in the mulitboard collumn you want it in to the integer.

-Miningjrk
10-13-2004, 02:02 AM#4
BuRnInSpartan
make a variable called time (set it as a integer)

Elapsed game time is 1

set time = time plus (the time you want to set clock to)
trigger turn on (w/e you call the trigger below)


Initially Off

every 1 second of game time

set time = time -1
leaderboard change value for player (idk) to time
10-13-2004, 02:26 AM#5
Miningjrk
Um, spartan, he is using a Multiboard not a leaderboard =P
10-13-2004, 07:26 PM#6
BuRnInSpartan
i'm trying to be rude but what's the differece?
10-13-2004, 07:34 PM#7
JoSanchez55
Quote:
Originally Posted by BuRnInSpartan
i'm trying to be rude but what's the differece?

You cant call to change a value that easly in a multiboard. You have to tell it to change column x and row y. For a simple answer, multiboards are alot more complex.
10-13-2004, 07:37 PM#8
BuRnInSpartan
right isn't that how the dota multiboard works?
10-15-2004, 05:17 AM#9
Miningjrk
To expand on my previous post, create an integer variable. Put its default to where you want the timer to count down from, then,

Event
Every 1 seconds of game time

Condition
None

Action
Set variable - variable - 1
Mulitboard- Set item text in collumn (x) row (y) to Conversion - Convert (your integer) to String

Hope that helps.

-Miningjrk