hey I need some help with my multiboard
I made this code
This is for player 1 , multiboard doesn't show up
I made this code
This is for player 1 , multiboard doesn't show up
-
Multiboard 1
-
Events
- Time - Elapsed game time is 0.10 seconds
- Conditions
-
Actions
- Multiboard - Create a multiboard with 4 columns and 13 rows, titled Resources
- Set Multiboard[1] = (Last created multiboard)
-
For each (Integer A) from 1 to 13, do (Actions)
-
Loop - Actions
- Multiboard - Set the width for Multiboard[1] item in column 1, row (Integer A) to 9.00% of the total screen width
- Multiboard - Set the width for Multiboard[1] item in column 2, row (Integer A) to 6.00% of the total screen width
- Multiboard - Set the width for Multiboard[1] item in column 3, row (Integer A) to 9.00% of the total screen width
- Multiboard - Set the width for Multiboard[1] item in column 4, row (Integer A) to 6.00% of the total screen width
- -------- ---------------------------------- --------
- Multiboard - Set the display style for Multiboard[1] item in column 1, row (Integer A) to Show text and Hide icons
- Multiboard - Set the display style for Multiboard[1] item in column 2, row (Integer A) to Show text and Hide icons
- Multiboard - Set the display style for Multiboard[1] item in column 3, row (Integer A) to Show text and Hide icons
- Multiboard - Set the display style for Multiboard[1] item in column 4, row (Integer A) to Show text and Hide icons
-
Loop - Actions
- -------- ROW 1 RESOURCES --------
- Multiboard - Set the text for Multiboard[1] item in column 1, row 1 to (ColorText + ([Type] + ColorSuffix))
- Multiboard - Set the text for Multiboard[1] item in column 2, row 1 to (ColorText + ([Amount] + ColorSuffix))
- Multiboard - Set the text for Multiboard[1] item in column 3, row 1 to (ColorText + (Type + ColorSuffix))
- Multiboard - Set the text for Multiboard[1] item in column 4, row 1 to (ColorText + ([Amount] + ColorSuffix))
- -------- Row 2 IRON + STEEL --------
- Multiboard - Set the text for Multiboard[1] item in column 1, row 2 to Iron
- Multiboard - Set the icon for Multiboard[1] item in column 1, row 2 to ReplaceableTextures\CommandButtons\BTNCassiterite.blp
- Multiboard - Set the display style for Multiboard[1] item in column 1, row 2 to Show text and Show icons
- Multiboard - Set the text for Multiboard[1] item in column 2, row 2 to (String(ResourceIron[1]))
- Multiboard - Set the text for Multiboard[1] item in column 3, row 2 to Steel
- Multiboard - Set the icon for Multiboard[1] item in column 3, row 2 to ReplaceableTextures\CommandButtons\BTNINV_Ingot_Steel.blp
- Multiboard - Set the display style for Multiboard[1] item in column 3, row 2 to Show text and Show icons
- Multiboard - Set the text for Multiboard[1] item in column 4, row 2 to (String(ResourceSteel[1]))
- -------- ROW 3 COPPER + BRONZE --------
- Multiboard - Set the text for Multiboard[1] item in column 1, row 3 to Copper
- Multiboard - Set the icon for Multiboard[1] item in column 1, row 3 to ReplaceableTextures\CommandButtons\BTNINV_Ore_Copper_01.blp
- Multiboard - Set the display style for Multiboard[1] item in column 1, row 3 to Show text and Show icons
- Multiboard - Set the text for Multiboard[1] item in column 2, row 3 to (String(ResourceCopper[1]))
- Multiboard - Set the text for Multiboard[1] item in column 3, row 3 to Bronze
- Multiboard - Set the icon for Multiboard[1] item in column 3, row 3 to ReplaceableTextures\CommandButtons\BTNINV_Ingot_Bronze.blp
- Multiboard - Set the display style for Multiboard[1] item in column 3, row 3 to Show text and Show icons
- Multiboard - Set the text for Multiboard[1] item in column 4, row 3 to (String(ResourceBronze[1]))
- -------- ROW 4 TIN --------
- Multiboard - Set the text for Multiboard[1] item in column 1, row 4 to Tin
- Multiboard - Set the icon for Multiboard[1] item in column 1, row 4 to ReplaceableTextures\CommandButtons\BTNINV_Ore_Tin_01.blp
- Multiboard - Set the display style for Multiboard[1] item in column 1, row 4 to Show text and Show icons
- Multiboard - Set the text for Multiboard[1] item in column 2, row 4 to (String(ResourceTin[1]))
- -------- ROW 5 STONE + BRICKS --------
- Multiboard - Set the text for Multiboard[1] item in column 1, row 5 to Stone
- Multiboard - Set the icon for Multiboard[1] item in column 1, row 5 to ReplaceableTextures\CommandButtons\BTNINV_Stone_12.blp
- Multiboard - Set the display style for Multiboard[1] item in column 1, row 5 to Show text and Show icons
- Multiboard - Set the text for Multiboard[1] item in column 2, row 5 to (String(ResourceStone[1]))
- Multiboard - Set the text for Multiboard[1] item in column 3, row 5 to Bricks
- Multiboard - Set the icon for Multiboard[1] item in column 3, row 5 to ReplaceableTextures\CommandButtons\BTNINV_Misc_StoneTablet_02.blp
- Multiboard - Set the display style for Multiboard[1] item in column 3, row 5 to Show text and Show icons
- Multiboard - Set the text for Multiboard[1] item in column 4, row 5 to (String(ResourceBricks[1]))
- -------- ROW 6 LUMBER + PLANKS --------
- Multiboard - Set the text for Multiboard[1] item in column 1, row 6 to Lumber
- Multiboard - Set the icon for Multiboard[1] item in column 1, row 6 to ReplaceableTextures\WorldEditUI\Doodad-Destructible.blp
- Multiboard - Set the display style for Multiboard[1] item in column 1, row 6 to Show text and Show icons
- Multiboard - Set the text for Multiboard[1] item in column 2, row 6 to (String(ResourceLumber[1]))
- Multiboard - Set the text for Multiboard[1] item in column 3, row 6 to Planks
- Multiboard - Set the icon for Multiboard[1] item in column 3, row 6 to ReplaceableTextures\CommandButtons\BTNHumanLumberUpgrade2.blp
- Multiboard - Set the display style for Multiboard[1] item in column 3, row 6 to Show text and Show icons
- Multiboard - Set the text for Multiboard[1] item in column 4, row 6 to (String(ResourcePlanks[1]))
- -------- ROW 7 GOLD --------
- Multiboard - Set the text for Multiboard[1] item in column 1, row 7 to Gold
- Multiboard - Set the icon for Multiboard[1] item in column 1, row 7 to ReplaceableTextures\CommandButtons\BTNChestOfGold.blp
- Multiboard - Set the display style for Multiboard[1] item in column 1, row 7 to Show text and Show icons
- Multiboard - Set the text for Multiboard[1] item in column 2, row 7 to (String(ResourceGold[1]))
- -------- ROW 8 NIKS --------
- -------- ROW 9 OIL + GASOLINE --------
- Multiboard - Set the text for Multiboard[1] item in column 1, row 9 to Oil
- Multiboard - Set the icon for Multiboard[1] item in column 1, row 9 to ReplaceableTextures\CommandButtons\BTNFireRocks.blp
- Multiboard - Set the display style for Multiboard[1] item in column 1, row 9 to Show text and Show icons
- Multiboard - Set the text for Multiboard[1] item in column 2, row 9 to (String(ResourceOil[1]))
- Multiboard - Set the text for Multiboard[1] item in column 3, row 9 to Gasoline
- Multiboard - Set the icon for Multiboard[1] item in column 3, row 9 to ReplaceableTextures\CommandButtons\BTNMotor.blp
- Multiboard - Set the display style for Multiboard[1] item in column 3, row 9 to Show text and Show icons
- Multiboard - Set the text for Multiboard[1] item in column 4, row 9 to (String(ResourceGasoline[1]))
- -------- ROW 10 POWER --------
- Multiboard - Set the text for Multiboard[1] item in column 1, row 10 to Power
- Multiboard - Set the icon for Multiboard[1] item in column 1, row 10 to ReplaceableTextures\CommandButtons\BTNP_Lightning.blp
- Multiboard - Set the display style for Multiboard[1] item in column 1, row 10 to Show text and Show icons
- Multiboard - Set the text for Multiboard[1] item in column 2, row 10 to (String(ResourcePower[1]))
- -------- ROW 11 NIKS --------
- -------- ROW 12 ALUMINUM --------
- Multiboard - Set the text for Multiboard[1] item in column 1, row 12 to Aluminum
- Multiboard - Set the icon for Multiboard[1] item in column 1, row 12 to ReplaceableTextures\CommandButtons\BTNResistantSkin.blp
- Multiboard - Set the display style for Multiboard[1] item in column 1, row 12 to Show text and Show icons
- Multiboard - Set the text for Multiboard[1] item in column 2, row 12 to (String(ResourceAlumium[1]))
- -------- ROW 13 URANIUM --------
- Multiboard - Set the text for Multiboard[1] item in column 1, row 13 to Uranium
- Multiboard - Set the icon for Multiboard[1] item in column 1, row 13 to ReplaceableTextures\CommandButtons\BTNNarcainian Energy Orb.blp
- Multiboard - Set the display style for Multiboard[1] item in column 1, row 13 to Show text and Show icons
- Multiboard - Set the text for Multiboard[1] item in column 2, row 13 to (String(ResourceUranium[1]))
- Multiboard - Set the text for Multiboard[1] item in column 4, row 2 to (String(ResourceSteel[2]))
- Multiboard - Hide Multiboard[1]
- Custom script: if ( GetLocalPlayer() == Player(0) ) then
- Multiboard - Show Multiboard[1]
- Custom script: endif
-
Events
-
Multiboard 2
-
Events
- Time - Elapsed game time is 0.10 seconds
- Conditions
-
Actions
- Multiboard - Create a multiboard with 4 columns and 13 rows, titled Resources
- Set Multiboard[2] = (Last created multiboard)
-
For each (Integer A) from 1 to 13, do (Actions)
-
Loop - Actions
- Multiboard - Set the width for Multiboard[2] item in column 1, row (Integer A) to 9.00% of the total screen width
- Multiboard - Set the width for Multiboard[2] item in column 2, row (Integer A) to 6.00% of the total screen width
- Multiboard - Set the width for Multiboard[2] item in column 3, row (Integer A) to 9.00% of the total screen width
- Multiboard - Set the width for Multiboard[2] item in column 4, row (Integer A) to 6.00% of the total screen width
- -------- ---------------------------------- --------
- Multiboard - Set the display style for Multiboard[2] item in column 1, row (Integer A) to Show text and Hide icons
- Multiboard - Set the display style for Multiboard[2] item in column 2, row (Integer A) to Show text and Hide icons
- Multiboard - Set the display style for Multiboard[2] item in column 3, row (Integer A) to Show text and Hide icons
- Multiboard - Set the display style for Multiboard[2] item in column 4, row (Integer A) to Show text and Hide icons
-
Loop - Actions
- -------- ROW 1 RESOURCES --------
- Multiboard - Set the text for Multiboard[2] item in column 1, row 1 to (ColorText + ([Type] + ColorSuffix))
- Multiboard - Set the text for Multiboard[2] item in column 2, row 1 to (ColorText + ([Amount] + ColorSuffix))
- Multiboard - Set the text for Multiboard[2] item in column 3, row 1 to (ColorText + (Type + ColorSuffix))
- Multiboard - Set the text for Multiboard[2] item in column 4, row 1 to (ColorText + ([Amount] + ColorSuffix))
- -------- Row 2 IRON + STEEL --------
- Multiboard - Set the text for Multiboard[2] item in column 1, row 2 to Iron
- Multiboard - Set the icon for Multiboard[2] item in column 1, row 2 to ReplaceableTextures\CommandButtons\BTNCassiterite.blp
- Multiboard - Set the display style for Multiboard[2] item in column 1, row 2 to Show text and Show icons
- Multiboard - Set the text for Multiboard[2] item in column 2, row 2 to (String(ResourceIron[2]))
- Multiboard - Set the text for Multiboard[2] item in column 3, row 2 to Steel
- Multiboard - Set the icon for Multiboard[2] item in column 3, row 2 to ReplaceableTextures\CommandButtons\BTNINV_Ingot_Steel.blp
- Multiboard - Set the display style for Multiboard[2] item in column 3, row 2 to Show text and Show icons
- Multiboard - Set the text for Multiboard[2] item in column 4, row 2 to (String(ResourceSteel[2]))
- -------- ROW 3 COPPER + BRONZE --------
- Multiboard - Set the text for Multiboard[2] item in column 1, row 3 to Copper
- Multiboard - Set the icon for Multiboard[2] item in column 1, row 3 to ReplaceableTextures\CommandButtons\BTNINV_Ore_Copper_01.blp
- Multiboard - Set the display style for Multiboard[2] item in column 1, row 3 to Show text and Show icons
- Multiboard - Set the text for Multiboard[2] item in column 2, row 3 to (String(ResourceCopper[2]))
- Multiboard - Set the text for Multiboard[2] item in column 3, row 3 to Bronze
- Multiboard - Set the icon for Multiboard[2] item in column 3, row 3 to ReplaceableTextures\CommandButtons\BTNINV_Ingot_Bronze.blp
- Multiboard - Set the display style for Multiboard[2] item in column 3, row 3 to Show text and Show icons
- Multiboard - Set the text for Multiboard[2] item in column 4, row 3 to (String(ResourceBronze[2]))
- -------- ROW 4 TIN --------
- Multiboard - Set the text for Multiboard[2] item in column 1, row 4 to Tin
- Multiboard - Set the icon for Multiboard[2] item in column 1, row 4 to ReplaceableTextures\CommandButtons\BTNINV_Ore_Tin_01.blp
- Multiboard - Set the display style for Multiboard[2] item in column 1, row 4 to Show text and Show icons
- Multiboard - Set the text for Multiboard[2] item in column 2, row 4 to (String(ResourceTin[2]))
- -------- ROW 5 STONE + BRICKS --------
- Multiboard - Set the text for Multiboard[2] item in column 1, row 5 to Stone
- Multiboard - Set the icon for Multiboard[2] item in column 1, row 5 to ReplaceableTextures\CommandButtons\BTNINV_Stone_12.blp
- Multiboard - Set the display style for Multiboard[2] item in column 1, row 5 to Show text and Show icons
- Multiboard - Set the text for Multiboard[2] item in column 2, row 5 to (String(ResourceStone[2]))
- Multiboard - Set the text for Multiboard[2] item in column 3, row 5 to Bricks
- Multiboard - Set the icon for Multiboard[2] item in column 3, row 5 to ReplaceableTextures\CommandButtons\BTNINV_Misc_StoneTablet_02.blp
- Multiboard - Set the display style for Multiboard[2] item in column 3, row 5 to Show text and Show icons
- Multiboard - Set the text for Multiboard[2] item in column 4, row 5 to (String(ResourceBricks[2]))
- -------- ROW 6 LUMBER + PLANKS --------
- Multiboard - Set the text for Multiboard[2] item in column 1, row 6 to Lumber
- Multiboard - Set the icon for Multiboard[2] item in column 1, row 6 to ReplaceableTextures\WorldEditUI\Doodad-Destructible.blp
- Multiboard - Set the display style for Multiboard[2] item in column 1, row 6 to Show text and Show icons
- Multiboard - Set the text for Multiboard[2] item in column 2, row 6 to (String(ResourceLumber[2]))
- Multiboard - Set the text for Multiboard[2] item in column 3, row 6 to Planks
- Multiboard - Set the icon for Multiboard[2] item in column 3, row 6 to ReplaceableTextures\CommandButtons\BTNHumanLumberUpgrade2.blp
- Multiboard - Set the display style for Multiboard[2] item in column 3, row 6 to Show text and Show icons
- Multiboard - Set the text for Multiboard[2] item in column 4, row 6 to (String(ResourcePlanks[2]))
- -------- ROW 7 GOLD --------
- Multiboard - Set the text for Multiboard[2] item in column 1, row 7 to Gold
- Multiboard - Set the icon for Multiboard[2] item in column 1, row 7 to ReplaceableTextures\CommandButtons\BTNChestOfGold.blp
- Multiboard - Set the display style for Multiboard[2] item in column 1, row 7 to Show text and Show icons
- Multiboard - Set the text for Multiboard[2] item in column 2, row 7 to (String(ResourceGold[2]))
- -------- ROW 8 NIKS --------
- -------- ROW 9 OIL + GASOLINE --------
- Multiboard - Set the text for Multiboard[2] item in column 1, row 9 to Oil
- Multiboard - Set the icon for Multiboard[2] item in column 1, row 9 to ReplaceableTextures\CommandButtons\BTNFireRocks.blp
- Multiboard - Set the display style for Multiboard[2] item in column 1, row 9 to Show text and Show icons
- Multiboard - Set the text for Multiboard[2] item in column 2, row 9 to (String(ResourceOil[2]))
- Multiboard - Set the text for Multiboard[2] item in column 3, row 9 to Gasoline
- Multiboard - Set the icon for Multiboard[2] item in column 3, row 9 to ReplaceableTextures\CommandButtons\BTNMotor.blp
- Multiboard - Set the display style for Multiboard[2] item in column 3, row 9 to Show text and Show icons
- Multiboard - Set the text for Multiboard[2] item in column 4, row 9 to (String(ResourceGasoline[2]))
- -------- ROW 10 POWER --------
- Multiboard - Set the text for Multiboard[2] item in column 1, row 10 to Power
- Multiboard - Set the icon for Multiboard[2] item in column 1, row 10 to ReplaceableTextures\CommandButtons\BTNP_Lightning.blp
- Multiboard - Set the display style for Multiboard[2] item in column 1, row 10 to Show text and Show icons
- Multiboard - Set the text for Multiboard[2] item in column 2, row 10 to (String(ResourcePower[2]))
- -------- ROW 11 NIKS --------
- -------- ROW 12 ALUMINUM --------
- Multiboard - Set the text for Multiboard[2] item in column 1, row 12 to Aluminum
- Multiboard - Set the icon for Multiboard[2] item in column 1, row 12 to ReplaceableTextures\CommandButtons\BTNResistantSkin.blp
- Multiboard - Set the display style for Multiboard[2] item in column 1, row 12 to Show text and Show icons
- Multiboard - Set the text for Multiboard[2] item in column 2, row 12 to (String(ResourceAlumium[2]))
- -------- ROW 13 URANIUM --------
- Multiboard - Set the text for Multiboard[2] item in column 1, row 13 to Uranium
- Multiboard - Set the icon for Multiboard[2] item in column 1, row 13 to ReplaceableTextures\CommandButtons\BTNNarcainian Energy Orb.blp
- Multiboard - Set the display style for Multiboard[2] item in column 1, row 13 to Show text and Show icons
- Multiboard - Set the text for Multiboard[2] item in column 2, row 13 to (String(ResourceUranium[2]))
- Multiboard - Hide Multiboard[2]
- Custom script: if ( GetLocalPlayer() == Player(1) ) then
- Multiboard - Show Multiboard[2]
- Custom script: endif
-
Events