• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Multiboard for one player only?

Status
Not open for further replies.
Level 7
Joined
Feb 15, 2005
Messages
183
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.
 
Level 5
Joined
Jul 31, 2004
Messages
108
// 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.
 
Status
Not open for further replies.
Top