Warcraft III resources & community, 2003–2006 · archived

Local Multiboard Display

not rated
Submitted by Jukebox42Functions0 downloads
Lets you display a multiboard to just one player instead of all the players. I don't know if someones already submited one of these. it's fairly simple just makes things easier when u use functions.

To use:

LocalMultiboardDisplay( true, MULTIBOARD, PLAYERNUMBER )

Source

function LocalMultiboardDisplay takes boolean show, multiboard mb, player toPlayer returns nothing
    if (GetLocalPlayer() == toPlayer) and not(show) then
        call MultiboardDisplay(mb, false)
        return
    endif
    call MultiboardDisplay(mb, GetLocalPlayer() == toPlayer)
endfunction

Comments

3
I didn't say you were giving critisms,but that the comment is useless,it doesn't matter how "the progression of parameters" goes and if you ask me,it's MUCH more understandable with brackets and "map size" for each bracket is minimal.What!?You whana equalize comments with posts,well why don't you get started spamming around people's work with useless comments,that suits me fine! :lol:
i wasnt giving any criticisms, its just that
-my #1 is much more standard. amd thus easier to remeber.
-my #2 just saves a little bit of map size for every bracket, but its entirely up to you :D
few things

#1 - the progression of the parameters should probably go (most important/its other parameters/picky stuff), which is in this case (mb/toPlayer/show) instead of (show/mb/toPlayer)

#2 - you use unnessesary brackets.
if GetLocalPlayer() == toPlayer and not show then

will work fine.