| 04-11-2006, 11:46 AM | #1 |
Introduction Multiboards can be used for many things. They are used mostly to display information about the game to the players, like for example how many kills each plays army and hero has made. Columns and Rows In a multiboard there are Columns and Rows, obviously Rows going across and Columns going up. Trigger: The above trigger is an example on how you can use Columns and Rows. Note: Remember that if you have text and you want an Icon to appear next to it you do not create a seperate Row or Column for it, but you create it in the same Column and Row as the text. Trigger: As in the trigger above when creating the multiboard is asks you for how many rows and columns you want. Note: Multiboards can not be displayed or created using the event Trigger: Map initializationTrigger: Time - Elapsed game time is 0.00 secondsI have atached a picture that will show you all the columns are rows for the example multiboard I am using for this tutorial. R stands for Row and C stands for Column So using that picture we could figure out that C1 and R1 will be the box in the very top left corner. C4 and R2 would be the very bottom right box in the multiboard. Colouring, Spacing and Filling In Your Spaces Using the above chart we could use this trigger Trigger: to create an Icon in the 2nd column and the 2nd Row, which in our Demo Map is the 2 box at the very bottom of the multiboard. Trigger: The above trigger will make the word text appear in the space in the first column and first row. Trigger: When you apply text to a space it might not be large enough, and will not show all of the text. Using this trigger that I showed you just above we can increase the width of a space, so it can fit in it and can be read propely. Trigger: This above trigger can change the colour of the text, in a certain space. 100.00% for every colour field would give you a white colour, while a 0.00% for every colour field would give you black. Showing the Multiboard Trigger: Multiboard - Show TutorialBoardThis trigger shows the multiboard. Using the Multiboard Now that we know how to set up a multiboard we can make it. This will show you how to make the multiboard show how many kills each player and players hero has. Trigger: Create
![]() Conditions
![]() Actions
![]() ![]() Multiboard - Create a multiboard with 4 columns and 2 rows, titled Kills
![]() ![]() Set TutorialBoard = (Last created multiboard)
![]() ![]() Multiboard - Change the color of the title for TutorialBoard to (100.00%, 80.00%, 20.00%) with 0.00% transparency
![]() ![]() Multiboard - Set the icon for TutorialBoard item in column 1, row 1 to ReplaceableTextures\CommandButtons\BTNFootman.blp
![]() ![]() Multiboard - Set the icon for TutorialBoard item in column 1, row 2 to ReplaceableTextures\CommandButtons\BTNGrunt.blp
![]() ![]() Multiboard - Set the icon for TutorialBoard item in column 2, row 1 to ReplaceableTextures\CommandButtons\BTNPillage.blp
![]() ![]() Multiboard - Set the icon for TutorialBoard item in column 2, row 2 to ReplaceableTextures\CommandButtons\BTNPillage.blp
![]() ![]() Multiboard - Set the width for TutorialBoard item in column 1, row 1 to 6.00% of the total screen width
![]() ![]() Multiboard - Set the width for TutorialBoard item in column 1, row 2 to 6.00% of the total screen width
![]() ![]() Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Humans
![]() ![]() Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to Orcs
![]() ![]() Multiboard - Set the color for TutorialBoard item in column 1, row 1 to (30.00%, 30.00%, 20.00%) with 0.00% transparency
![]() ![]() Multiboard - Set the color for TutorialBoard item in column 1, row 2 to (100.00%, 30.00%, 30.00%) with 0.00% transparency
![]() ![]() Multiboard - Set the text for TutorialBoard item in column 2, row 1 to (String(HumanKills))
![]() ![]() Multiboard - Set the text for TutorialBoard item in column 2, row 2 to (String(OrcKills))
![]() ![]() Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to Human Hero
![]() ![]() Multiboard - Set the text for (Last created multiboard) item in column 3, row 2 to Orc Hero
![]() ![]() Multiboard - Set the color for TutorialBoard item in column 3, row 1 to (30.00%, 100.00%, 30.00%) with 0.00% transparency
![]() ![]() Multiboard - Set the color for TutorialBoard item in column 3, row 2 to (100.00%, 100.00%, 30.00%) with 0.00% transparency
![]() ![]() Multiboard - Set the width for TutorialBoard item in column 3, row 1 to 8.00% of the total screen width
![]() ![]() Multiboard - Set the width for TutorialBoard item in column 3, row 2 to 8.00% of the total screen width
![]() ![]() Multiboard - Set the icon for TutorialBoard item in column 3, row 1 to ReplaceableTextures\CommandButtons\BTNArthas.blp
![]() ![]() Multiboard - Set the icon for TutorialBoard item in column 3, row 2 to ReplaceableTextures\CommandButtons\BTNThrall.blp
![]() ![]() Multiboard - Set the icon for TutorialBoard item in column 4, row 1 to ReplaceableTextures\CommandButtons\BTNPillage.blp
![]() ![]() Multiboard - Set the icon for TutorialBoard item in column 4, row 2 to ReplaceableTextures\CommandButtons\BTNPillage.blp
![]() ![]() Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to (String(Human_Hero_Kills))
![]() ![]() Multiboard - Set the text for (Last created multiboard) item in column 4, row 2 to (String(Orc_Hero_Kills))
![]() ![]() Multiboard - Show TutorialBoardThat trigger has set up our multiboard, and we have set each "kills" space to a variable. Trigger: This trigger is used to add kills to the Player Kills catergory. Trigger: This trigger is almost exactly the same, but it now saves the hero kills, not any units kills. Conclusion If you have any questions you can email me at [email protected]. I have included a demo map so you can look at any of the triggers I used in this tutorial. The Demo can be downloaded Here. |
| 04-11-2006, 12:13 PM | #2 |
You should attach the demo map to your post instead. |
| 04-11-2006, 12:20 PM | #3 |
Ok atached. |
| 04-18-2006, 07:48 PM | #4 |
Maybe add how to have induvidial multiboards per players, would be two kills in one shot. Great Tutorial by the way. |
| 04-20-2006, 06:54 AM | #5 |
@Meanie: If you want to have a almost perfect source code, just PM me. I will send you the code, but you must get along with it alone (it is all in jass a lil' comlicated). Everbody else can ask me for the source code too. |
