| 10-17-2005, 06:13 AM | #1 |
So... I made a test map and tried showing two multiboards for one player, didn't work. So if a player can only display one multiboard at a time, why is there the gui line "Multiboard - Show/Hide All Multiboards"? Is that to easily display all boards, with each board for a different player? Are there any special tricks or something that I could use to display two catagories of information (scoreboard and hero inventory)? |
| 10-17-2005, 10:16 AM | #2 |
To my understanding only 1 multiboard, 1 resource table (for left players) and 1 leaderboard can be displayed at a time. You might be able to display the scores in a leaderboard using GetLocalPlayer, and the hero inventory in a multiboard also using GetLocalPlayer. |
| 10-18-2005, 01:09 AM | #3 | |
Quote:
To display a different multiboard to every player, you would have to make a global multiboard array, where the index corrosponds to the player number (Aka...Player 1 (Red)'s multiboard would be index 1) JASS:call MultiboardDisplay(udg_MultiboardArray[GetConvertedPlayerId(GetLocalPlayer()) + 1], true) The GUI function you're talking about is for, I assume, hiding -all- multiboards, including the "Left Player Resources" (Can anyone confirm/rebut this?). Although I don't know any details about your map, I would either: 1. Use a leaderboard for one of them. 2. Combine them into one multiboard. |
