HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Multiboard help

12-28-2004, 04:57 PM#1
peoncaptain
I need to make a damn multiboard with player names,hero kills,unit kills and that player is still playing/left the game thing.I know something about leaderboard but my problem are variables...(dont know how to properly use them)
12-29-2004, 12:58 PM#2
peoncaptain
I made this but it doesnt seem to work...Help!

multiboard
Events
Map initialization
Conditions
Actions
Multiboard - Create a multiboard with 1 columns and 12 rows, titled Player status
Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to (Name of Player 1 (Red))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to (Name of Player 2 (Blue))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to (Name of Player 3 (Teal))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 4 to (Name of Player 4 (Purple))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 5 to (Name of Player 5 (Yellow))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 6 to (Name of Player 6 (Orange))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 7 to (Name of Player 7 (Green))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 8 to (Name of Player 8 (Pink))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 9 to (Name of Player 9 (Gray))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 11 to (Name of Player 10 (Light Blue))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 10 to (Name of Player 11 (Dark Green))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 12 to (Name of Player 12 (Brown))
Wait 1.00 seconds
Multiboard - Show (Last created multiboard)

Unit kills
Events
Unit - A unit Dies
Conditions
((Owner of (Killing unit)) is an ally of (Owner of (Dying unit))) Equal to False
(Owner of (Triggering unit)) Not equal to (Owner of (Killing unit))
((Dying unit) is A Hero) Equal to False
Actions
Set Unit_kills = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to Kills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort (Last created leaderboard) by Value in Descending order

Hero kills
Events
Unit - A unit Dies
Conditions
((Owner of (Killing unit)) is an ally of (Owner of (Dying unit))) Equal to False
(Owner of (Triggering unit)) Not equal to (Owner of (Killing unit))
((Dying unit) is A Hero) Equal to True
Actions
Set Hero_kills = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to Kills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort (Last created leaderboard) by Value in Descending order

EDIT:I fixed one bug (map initalization to 0.5 sec elapsed)but how can I remove that damn eye and have the whole name of a player?
12-29-2004, 01:03 PM#3
Slugge
okay u gotta set width of it.... use this trigger :

Melee Initialization
Events
Conditions
Actions
Multiboard - Set the width for (Last created multiboard) item in column 1, row 1 to 10.00% of the total screen width


make the width for every row.....
12-29-2004, 01:32 PM#4
peoncaptain
I just wanted to edit the post again ,yes I did that,but i searched the forum and found out that u can change the width of all rows with an integer,but how?
12-29-2004, 01:39 PM#5
Slugge
well, you should just stick to editing everyone with 12 triggers.... easier :D
12-29-2004, 01:45 PM#6
peoncaptain
Then it would be like 36 triggers cause of status display(alive,dead or quit) and kills....
12-29-2004, 01:49 PM#7
Slugge
why not just change the text when someone quits and stuff? much easier.. dont have to change size then!
12-29-2004, 02:31 PM#8
peoncaptain
How to remove icons?
12-29-2004, 02:50 PM#9
Slugge
this part is easy, do this trigger : Melee Initialization
Events
Conditions
Actions
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Show text and Show icons

set : show text and hide icons
12-29-2004, 02:53 PM#10
Voi
Quote:
Originally Posted by peoncaptain
How to remove icons?

I told you in my pm!!!
Sorry I didn't post it here but I couldn't post before...I noticed it was because my new email address registered here required validation.

Anyway here is what I said:
Set the multiboard width to all rows or columns write row 0, column 0. 0 means all.

To remove the eye-icons, use multiboard - set item display style to hide icons and show text. Rows and columns should of course be 0 (both of them) if you want to hide all icons.

Good luck


So here is the answer once again:
Multiboard - set item display style to hide icons and show text!
12-29-2004, 02:54 PM#11
peoncaptain
To remove those damn 36 triggers do 3 simple triggers :D
Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 10.00% of the total screen width
And so on... 0 = all :D
And I still need to apply kills integer and to manage that alive/dead/quit trigger...
Lol...I was writting this when u replyed ...I dont check my pm very often cause I recieved 3 pms until now...
How to apply kills integer to multiboard?(I know how to leaderboard)