HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Multiboard or Leaderboard?

11-06-2004, 10:56 PM#1
abraxas
Hello
I wonder if i should use multiboard or leaderboard. This is what i want to be in the board:

Code:
                                Titel
Name                Hero              Kills              Units on map
Team1
nick1           icon on hero1      Kills[1]                 units1
nick2           icon on hero2      Kills[2]                 units2
nick3           icon on hero3      Kills[3]                 units3
Team2
nick4           icon on hero4      Kills[4]                 units4
nick5           icon on hero5      Kills[5]                 units5
nick6           icon on hero6      Kills[6]                 units6
...

Multiboard or leaderboard?
And, how do i do this board?? it seems very strange to do. (and i know about variables and arrays, not to do a board)

Please help me
abraxas
11-06-2004, 11:51 PM#2
aots_assasin
multiboard and its like building a spread sheet u specify rows and collums then do loops to fill them this is one i wrote a while back u can change it to suit your needs
Code:
Multiboard - Create a multiboard with x columns and x rows, titled whatever
then go to new action select multi board then fill in the rest

hope this helps
11-06-2004, 11:56 PM#3
Anitarf
For this complex stuff (multiple colums, icons) you need a multiboard.

It's easy to do, you just create the multiboard (careful, you can't create it at map initialization, you have to use the "elapsed time" event) and then use one of the multiboard trigger actions to modify individual fields. The fileds are organized in columns and rows. In your example, players come in rows 3, 4, 5 and 7, 8, 9, kills come in column 3,...

You update your multiboard either with a periodic trigger, or every time something happens that would change a value on the board (in your case, units being trained or killed, I guess). You just use the action that modifies individual fields to assign new values to the board whenever you update it.
11-07-2004, 12:11 AM#4
abraxas
Ok i got it worked, i filled in all and got it updating , but there is one big problem

I want the icones (in column 2) to be showed as what hero they got.
So if they got 3 heroes, it will show all 3 of them in column 2.
Should i do this with a variable (array of 36, what type then????) or something else?

Need help!!!


thanks for the fast answers before guys(or girls) ;)
11-07-2004, 12:32 AM#5
Anitarf
This is a tough one. I think every column may only display one icon. You would need three colums, in this case.

Also, whenever a player would train a hero, you would have to determine his icon, but since you can't get that directly, you would need a lot of if-then-elses that set a string variable (icons are stored as strings - their filename paths) depending on which hero is trained: that means one if-then-else for each hero type. Then, you would just set the icon of the multiboard of the appropriate column to that variable.
11-07-2004, 09:20 AM#6
abraxas
ok, seems to be quite alot of work :\
and it is a footman so there is alot of heroes.

Thanks for the information anyway.
11-07-2004, 03:05 PM#7
aots_assasin
its not alot of work it tkaes maybe 30 mins total to set it up