function Trig_Multiboard_creating_Actions takes nothing returns nothing
local integer a=1
local integer b=1
local integer c = 1
local integer d = 0
local multiboarditem mbitem = null
local string t = "pityu"
local multiboard m = null
loop
exitwhen a > 10
set m = CreateMultiboard()
call MultiboardSetRowCount(m, 21)
call MultiboardSetColumnCount(m, 2)
call MultiboardSetTitleText(m, "Multiboard")
set udg_Multiboard[a] = m
call MultiboardSetTitleTextColor(udg_Multiboard[a], 255, 200, 200, 255)
call MultiboardMinimize(udg_Multiboard[a],true)
loop
exitwhen c > 20
set mbitem = MultiboardGetItem(udg_Multiboard[a], c, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], c, 1)
call MultiboardSetItemValue(mbitem, "...........")
call MultiboardSetItemStyle(mbitem, true, false)
call MultiboardSetItemWidth(mbitem, 8/100.0)
call MultiboardReleaseItem(mbitem)
if (c > 10 ) then
set mbitem = MultiboardGetItem(udg_Multiboard[a], c, 0)
call MultiboardSetItemIcon(mbitem, "UI\\Minimap\\MinimapIconCreepLoc2.blp" )
call MultiboardReleaseItem(mbitem)
endif
set c = c + 1
endloop
set mbitem = MultiboardGetItem(udg_Multiboard[a], 0, 1)
call MultiboardSetItemIcon(mbitem, "UI\\Feedback\\Resources\\ResourceGold.blp" )
call MultiboardSetItemWidth(mbitem, 8/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_014")
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 0, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_013")
call MultiboardSetItemIcon(mbitem, "UI\\Feedback\\Resources\\ResourceGold.blp" )
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 10, 0)
call MultiboardSetItemStyle(mbitem, true, true)
call MultiboardSetItemIcon(mbitem, "UI\\Feedback\\Resources\\ResourceGold.blp" )
call MultiboardSetItemValueColor(mbitem, 255, 255, 50, 255)
call MultiboardSetItemValue(mbitem, "TRIGSTR_011")
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 10, 1)
call MultiboardSetItemStyle(mbitem, true, true)
call MultiboardSetItemIcon(mbitem, "UI\\Feedback\\Resources\\ResourceGold.blp" )
call MultiboardSetItemValueColor(mbitem, 255, 255, 50, 255)
call MultiboardSetItemValue(mbitem, "TRIGSTR_012")
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 1, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_015")
call MultiboardSetItemIcon(mbitem, "ReplaceableTextures\\CommandButtons\\BTNCirclet.blp" )
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 2, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_016")
call MultiboardSetItemIcon(mbitem, "ReplaceableTextures\\CommandButtons\\BTNImprovedMoonArmor.blp" )
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 3, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_017")
call MultiboardSetItemIcon(mbitem, "ReplaceableTextures\\CommandButtons\\BTNHammer.blp" )
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 4, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_018")
call MultiboardSetItemIcon(mbitem, "ReplaceableTextures\\CommandButtons\\BTNHumanArmorUpTwo.blp" )
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 5, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_019")
call MultiboardSetItemIcon(mbitem, "ReplaceableTextures\\CommandButtons\\BTNBootsOfSpeed.blp" )
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 6, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_020")
call MultiboardSetItemIcon(mbitem, "ReplaceableTextures\\CommandButtons\\BTNRingGreen.blp" )
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 7, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_021")
call MultiboardSetItemIcon(mbitem, "ReplaceableTextures\\CommandButtons\\BTNRingGreen.blp" )
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 8, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_022")
call MultiboardSetItemIcon(mbitem, "ReplaceableTextures\\CommandButtons\\BTNAmulet.blp" )
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 9, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemIcon(mbitem, "ReplaceableTextures\\CommandButtons\\BTNAmulet.blp" )
call MultiboardSetItemValue(mbitem, "Wings")
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 11, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_024")
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 12, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_025")
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 13, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_026")
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 14, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_027")
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 15, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_028")
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 16, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_029")
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 17, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_030")
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 18, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_031")
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 19, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_032")
call MultiboardReleaseItem(mbitem)
set mbitem = MultiboardGetItem(udg_Multiboard[a], 20, 0)
call MultiboardSetItemWidth(mbitem, 12/100.0)
call MultiboardSetItemValue(mbitem, "TRIGSTR_033")
call MultiboardReleaseItem(mbitem)
call TriggerSleepAction( 0.01 )
set a = a + 1
endloop
set a = 0
loop
exitwhen a > 9
if ( GetLocalPlayer() == Player(a) ) then
call MultiboardDisplay(udg_Multiboard[a+1], true)
call MultiboardMinimize(udg_Multiboard[a+1],false)
endif
set a = a + 1
endloop
endfunction
//===========================================================================
function InitTrig_Multiboard_creating takes nothing returns nothing
set gg_trg_Multiboard_creating = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Multiboard_creating, 1.00 )
call TriggerAddAction( gg_trg_Multiboard_creating, function Trig_Multiboard_creating_Actions )
endfunction
[/hidden]