# SystemMultiboard Time System

#### death_knight

##### Dark is the heart of a corrupted man.
The system below is a time system which is displayed as part of the title of a multiboard rather than using food, gold and lumber to show the time (like in DOTA).

The one variable used is an integer array variable. Time represents the number of hours]; Time represents the number of minutes; and Time represents the number of seconds.

Code:
``````Time
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Set Time = (Time + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time Equal to 60
Then - Actions
Set Time = 0
Set Time = (Time + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time Equal to 60
Then - Actions
Set Time = 0
Set Time = (Time + 1)
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time Less than 10
Time Less than 10
Time Less than 10
Then - Actions
Multiboard - Change the title of (Last created multiboard) to (Game Info;  + ((0 + ((String(Time)) + :)) + ((0 + ((String(Time)) + :)) + (0 + (String(Time))))))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time Greater than or equal to 10
Time Less than 10
Time Less than 10
Then - Actions
Multiboard - Change the title of (Last created multiboard) to (Game Info;  + (((String(Time)) + :) + ((0 + ((String(Time)) + :)) + (0 + (String(Time))))))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time Greater than or equal to 10
Time Greater than or equal to 10
Time Less than 10
Then - Actions
Multiboard - Change the title of (Last created multiboard) to (Game Info;  + (((String(Time)) + :) + (((String(Time)) + :) + (0 + (String(Time))))))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time Greater than or equal to 10
Time Less than 10
Time Greater than or equal to 10
Then - Actions
Multiboard - Change the title of (Last created multiboard) to (Game Info;  + (((String(Time)) + :) + ((0 + ((String(Time)) + :)) + (String(Time)))))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time Greater than or equal to 10
Time Greater than or equal to 10
Time Greater than or equal to 10
Then - Actions
Multiboard - Change the title of (Last created multiboard) to (Game Info;  + (((String(Time)) + :) + (((String(Time)) + :) + (String(Time)))))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time Less than 10
Time Greater than or equal to 10
Time Less than 10
Then - Actions
Multiboard - Change the title of (Last created multiboard) to (Game Info;  + (((0 + (String(Time))) + :) + (((String(Time)) + :) + (0 + (String(Time))))))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time Less than 10
Time Greater than or equal to 10
Time Greater than or equal to 10
Then - Actions
Multiboard - Change the title of (Last created multiboard) to (Game Info;  + (((0 + (String(Time))) + :) + (((String(Time)) + :) + (String(Time)))))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time Less than 10
Time Less than 10
Time Greater than or equal to 10
Then - Actions
Multiboard - Change the title of (Last created multiboard) to (Game Info;  + (((0 + (String(Time))) + :) + (((0 + (String(Time))) + :) + (String(Time)))))
Else - Actions``````

#### Attachments

• 17.1 KB Views: 349

#### tooltiperror

##### Super Moderator
Right, this lacks a description, is implemented in GUI (making it slow compared to if you had used JASS for it) and [LJASS]array Time[/LJASS] is likely to conflict with other variables. It also runs at this inefficient speed every 1 second, making it a bad choice to do in GUI.

It also is rather simple for a whole system, perhaps this should also make the multiboard and format it?

Graveyarded.

General chit-chat
Help Users
• No one is chatting at the moment.

### Members online

No members online now.