Warcraft III resources & community, 2003–2006 · archived

Multiboard for one player only?

4 posts
#1

Multiboard for one player only?

Can you make a mutliboard for only one player? Like leaderboard? Mabye with JASS?
#2
I would be interested in something like this. I know I have played games where each person has their personal stats in their own board. I have a map I am working on that could really benefit from individual boards for different players.
#3
He He He yea thats why I asked :)
#4
// Trigger: ShowMultiboardforPlayer
//===========================================================================
function Trig_ShowMultiboards_Func001A takes nothing returns nothing
if GetLocalPlayer() == GetEnumPlayer() then
call MultiboardDisplayBJ( true, udg_PlayerMultiboard[GetConvertedPlayerId(GetEnumPlayer())] )
endif
endfunction

function Trig_ShowMultiboards_Actions takes nothing returns nothing
call ForForce( GetPlayersByMapControl(MAP_CONTROL_USER), function Trig_ShowMultiboards_Func001A )
endfunction

//===========================================================================
function InitTrig_ShowMultiboardforPlayer takes nothing returns nothing
set gg_trg_ShowMultiboardforPlayer = CreateTrigger( )
call TriggerAddAction( gg_trg_ShowMultiboardforPlayer, function Trig_ShowMultiboards_Actions )
endfunction

This might be it. I "deprotected" HaE No the line

call MultiboardDisplayBJ( true, udg_PlayerMultiboard[GetConvertedPlayerId(GetEnumPlayer())] )

Generates errors. LOL I didn't change variable. It doesn't work.