105 posts Florida joined 2004-07-31
#1 2005-06-27
Multiboard for one player only? Can you make a mutliboard for only one player? Like leaderboard? Mabye with JASS?
159 posts So Cal joined 2005-02-15
#2 2005-06-27
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.
105 posts Florida joined 2004-07-31
#3 2005-06-27
He He He yea thats why I asked
105 posts Florida joined 2004-07-31
#4 2005-06-27
// 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.