h1ho)
Thinking how to make 12 multiboards for each player arose one idea: to make one multiboard, and variables to make soo (Will change in my multiboard is only title):
its possible?
thanks
sorry for my bad English
Thinking how to make 12 multiboards for each player arose one idea: to make one multiboard, and variables to make soo (Will change in my multiboard is only title):
JASS:
function settitleForPlayer takes nothing returns nothing
local integer i = 0
loop
exitwhen i > 11
if GetLocalPlayer() == Player(udg_PlayerInAction) then
if udg_Game_Seconds >= 10 then
call MultiboardSetTitleText(udg_mb, "bbMaynheMapMbTitle " + (I2S(udg_LeaderboardKills[i]) + (I2S(udg_LeaderboardDeaths[i]) + " |c00C0C0C0" ) ) ) + ( I2S(udg_Game_Minutes) + ( ":" + ( I2S(udg_Game_Seconds) + "|r" ) ) )
else
call MultiboardSetTitleText(udg_mb, "bbMaynheMapMbTitle " + (I2S(udg_LeaderboardKills[i]) + (I2S(udg_LeaderboardDeaths[i]) + " |c00C0C0C0" ) ) ) + ( I2S(udg_Game_Minutes) + (":0" + ( I2S(udg_Game_Seconds) + "|r" ) ) )
endif
endif
set i = i + 1
endloop
endfunction
function InitTrig_qd takes nothing returns nothing
local trigger t = CreateTrigger()
call TriggerAddAction(t, function settitleForPlayer)
set t = null
endfunction
its possible?
thanks
sorry for my bad English