Hi, this has to be the third time I post a new thread about Multiboard... but I realized that people telling me what to fix isn't helping in any way, so I ask you to fix this map so there is a local multiboard for each player, cause it isn't working, and yes, I have tried it online.
I am in desperate need of a local multiboard system that works
Edit: Here are the triggers if you are to lazy to download and open the map:
Melee Initialization:
Show em:
I am in desperate need of a local multiboard system that works

Edit: Here are the triggers if you are to lazy to download and open the map:
Melee Initialization:
-
Events
-
Time - Elapsed game time is 0.00 seconds
-
-
Conditions
-
Actions
-
For each (Integer A) from 1 to 4, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Player((Integer A))) slot status) Equal to Is playing
-
((Player((Integer A))) controller) Equal to User
-
-
Then - Actions
-
Visibility - Create an initially Enabled visibility modifier for (Player((Integer A))) emitting Visibility across (Playable map area)
-
Multiboard - Create a multiboard with 2 columns and 3 rows, titled (Stats + (Name of (Player((Integer A)))))
-
Set Multiboard[(Integer A)] = (Last created multiboard)
-
For each (Integer A) from 1 to 3, do (Actions)
-
Loop - Actions
-
Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Hide icons
-
Multiboard - Set the display style for (Last created multiboard) item in column 2, row (Integer A) to Show text and Hide icons
-
-
-
Multiboard - Set the width for (Last created multiboard) item in column 0, row 0 to 5.00% of the total screen width
-
Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Kills:
-
Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to Deaths:
-
Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to Level:
-
Multiboard - Show (Last created multiboard)
-
Multiboard - Maximize (Last created multiboard)
-
-
Else - Actions
-
-
-
-
For each (Integer A) from 1 to 4, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Player((Integer A))) slot status) Equal to Is playing
-
((Player((Integer A))) controller) Equal to User
-
-
Then - Actions
-
-------- A weird little thing that will only show a multiboard if the local player is appropriate. --------
-
-------- The concept is that if the current "local player" is being considered, we can show them a multiboard that corresponds to the player number in the loop. --------
-
Custom script: if( GetLocalPlayer() == ConvertedPlayer(bj_forLoopAIndex) ) then
-
Multiboard - Hide Multiboard[(Integer A)]
-
Custom script: endif
-
-
Else - Actions
-
-
-
-
JASS:
function MBActions takes nothing returns nothing
local player p = GetTriggerPlayer()
if GetEventPlayerChatString() == "-menu" then
if GetLocalPlayer() == p then
call MultiboardDisplay(udg_Multiboard[GetPlayerId(p) +1],true)
endif
elseif GetEventPlayerChatString() == "-hide" then
if GetLocalPlayer() == p then
call MultiboardDisplay(udg_Multiboard[GetPlayerId(p) +1],false)
endif
endif
set p = null
endfunction
//===========================================================================
function InitTrig_Multiboard takes nothing returns nothing
local trigger t = CreateTrigger()
local integer i = 0
loop
exitwhen i == 11
call TriggerRegisterPlayerChatEvent(t,Player(i),"-",false)
set i = i + 1
endloop
call TriggerAddAction(t,function MBActions)
set t = null
endfunction
Show em:
-
Events
-
Player - Player 1 (Red) types a chat message containing -menu as An exact match
-
Player - Player 2 (Blue) types a chat message containing -menu as An exact match
-
Player - Player 3 (Teal) types a chat message containing -menu as An exact match
-
Player - Player 4 (Purple) types a chat message containing -menu as An exact match
-
-
Conditions
-
Actions
-
Custom script: call MultiboardDisplay(udg_Multiboard[bj_forLoopAIndex],false)
-
Custom script: if( GetLocalPlayer() == GetTriggerPlayer() ) then
-
Custom script: call MultiboardDisplay(udg_Multiboard[bj_forLoopAIndex],true)
-
Multiboard - Maximize Multiboard[(Integer A)]
-
Multiboard - Show Multiboard[(Player number of (Triggering player))]
-
Custom script: endif
-
For each (Integer A) from 1 to 4, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Player((Integer A))) slot status) Equal to Is playing
-
((Player((Integer A))) controller) Equal to User
-
-
Then - Actions
-
-------- A weird little thing that will only show a multiboard if the local player is appropriate. --------
-
-------- The concept is that if the current "local player" is being considered, we can show them a multiboard that corresponds to the player number in the loop. --------
-
Custom script: call MultiboardDisplay(udg_Multiboard[bj_forLoopAIndex],false)
-
Custom script: if( GetLocalPlayer() == ConvertedPlayer(bj_forLoopAIndex) ) then
-
Custom script: call MultiboardDisplay(udg_Multiboard[bj_forLoopAIndex],true)
-
Custom script: endif
-
-
Else - Actions
-
-
-
-
Attachments
Last edited: