• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

All About Multiboards

Level 10
Joined
Feb 8, 2008
Messages
432
All About Multiboards
Everything you need to know about multiboards, by Inverted
[Please if this helps you, throw me some rep]



Introduction

Welcome to my "All About Multiboards" tutorial. This tutorial is aimed at all
aspects of multiboards including timers, game modes, and even hero icons. A
multiboard is a group of boxes arranged in a certain order of columns and
rows such as a table on these forums:

1 2 3
4 5 6
7 8 9

We can fill these cells with icons, information, colors, names or whatever we want. When i was working on my game i had a very hard time finding information on
many of these subjects, this is why i decided to write a tutorial on it. The
first few lessons are basic where as the latter are to be done after the basic
lessons. Throughout the lession you will see ":thumbs_up:" these are
points of interest or tips, read these for extra info regarding multiboards. I
hope you learn from my tutorial.


Setting Up Your Multiboard

Start up the world editor with a fresh map or the map you are currently
working on. Create a new trigger named "Create Multiboard" or any name that
fits your fancy.

  • Create Multiboard
    • Events
    • Conditions
    • Actions

:thumbs_up: "Multiboards cannot be created at map initialization"

Now add an event that will start in the beginning of the game and create a multiboard with 2 rows and 2 columns.

  • Create Multiboard
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 2 columns and 2 rows, titled Multiboard

If you ran this map right now you would get a small sized multiboard with 4
eye icons in the center of each cell, we are going to fix this. The eyes
appear because we have not yet stated what type of information we want to
appear in these cells and what exact information we want in each cell.

Now we are going to give our multiboard some basic text and settings.

  • Create Multiboard
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 2 columns and 2 rows, titled Multiboard
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 2 to 10.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 1 to 10.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 1 to 5.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 2 to 5.00% of the total screen width
      • Multiboard - Minimize (Last created multiboard)
      • Multiboard - Maximize (Last created multiboard)
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Player
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Points
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to 0
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to (Name of Player 1 (Red))
      • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Show text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 2 to Show text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column 2, row 1 to Show text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column 2, row 2 to Show text and Hide icons

It will look like this:

basic_multiboard.jpg

Lines 2-5 we are setting the widths of the different cells. Column 1 is going
to be the players name so it should take up roughly 10% of the screen.
Column 2 is going to be the players points so only has to be 5%. Lines 6 and 7 we are minimizing and maximizing the multiboard to put the percent changes
into place. Lines 8 - 11 we set the categories. For 1,1 it is "Player" and 2,1 it
is "Points". We then fill in the information, for 1,2 it is the name of the player
and for 2,2 the points will start at 0. Lastly we set the display style. What
the display style does is state what type of information we will have in the
cells. For all 4 cells we only want text and no icons, so thats what the last
lines do. This is the basic multiboard that you will want for one player. For
more than one player change the initial amount of rows and set the
information for more than row 1 and 2.

A more efficient way of doing this is using integer A:
What we are going to do is create an integer A loop. This will simplify and shorten
the trigger making it alot easier to maintain and change. Before attempting this please
read on as it contains material covered later in the tutorial such as player colors and
multiple players. First we are going to create a multiboard with 2 columns and X amount
of rows. If you want 3 players in ur game give it 4 rows. 6 players give it 7 rows, etc.
Now we are going to create a loop for each integer A. From 1 - the amount of rows you have.
It should look like this so far:

  • Create Multiboard
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 2 columns and 4 rows, titled Multiboard
      • For each (Integer A) from 1 to 4, do (Actions)
        • Loop - Actions

Now we are going to take the concepts from above but instead of doing an action for
every row we just do "Integer A". This is the final trigger. It includes player colors
which is covered later on in the tutorial.

  • Create Multiboard
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 2 columns and 4 rows, titled Multiboard
      • For each (Integer A) from 1 to 4, do (Actions)
        • Loop - Actions
          • Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 10.00% of the total screen width
          • Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 5.00% of the total screen width
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row ((Integer A) + 1) to PlayerColors[(Integer A)]
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row ((Integer A) + 1) to 0
          • 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 text for (Last created multiboard) item in column 1, row 1 to Player
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Points
      • Multiboard - Minimize (Last created multiboard)
      • Multiboard - Maximize (Last created multiboard)

That is the faster an more efficient way of creating a multiboard.
This will allow you to add more and maintain it better than creating an action
for every line and every row.


Customizing and Updating Your Multiboard

Changing Your Multiboard Title:
To change your multiboard says at the top refer to your initial "create
multiboard" action and change the title. You can also create a new action
to rename your title. Example:

  • Test
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Multiboard - Change the title of (Last created multiboard) to New Title:

Hero Health %'s:
If you want to display the % health of your hero in a multi-board then all you need
is one variable. This variable is the hero itself. Create a new variable, make it a unit
and make it an array. The array should be 2 if there are 2 people playing your game,
or 5 if there are 5 slots in your game. When your hero is bought just assign the variable
to the last created unit. This is simple enough. Now what we are going to do is every
.5 seconds of gametime display the information and then subdivide it to only show
the first four digits of the real. This is what we will get when we put all of this together:

  • Set Hero Health
    • Events
      • Time - Every 0.50 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 1 (Red) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to ((Substring((String((Percentage life of Hero[1]))), 1, 4)) + %)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Player 2 (Blue) slot status) Equal to Is playing
            • Then - Actions
              • Multiboard - Set the text for (Last created multiboard) item in column 2, row 3 to ((Substring((String((Percentage life of Hero[2]))), 1, 4)) + %)
            • Else - Actions
        • Else - Actions

Just keep adding the if, then, and elses and add 1 more to the row depending
on how many peeps are in your game. If we dont check if the slot status
is full or not we will get a fatal error so we have to check if the player is
playing before doing something to that player. And thats how you show
the health %'s on a multiboard.

Leavers:
If a player leaves your game you want to change what was their name in gray
with a <left> next to it. We keep their name there so we know who it was that left
and then we change it to gray and add the <left> to show the players that this
person left. |cffA2B5CD is the color code we are going to use, it is a light gray.
First we want the events to be if somone leaves. So create an event for every
player that will be in your game. If only 3 people are playing this is what it will
look like:

  • Leavers
    • Events
      • Player - Player 1 (Red) leaves the game
      • Player - Player 2 (Blue) leaves the game
      • Player - Player 3 (Teal) leaves the game
    • Conditions
    • Actions

Now the action is going to change their multiboard name to gray
and add the <left> next to it. All we need is one action, we will use the
players number + 1 to refer to their row. Red is player 1 so their number
is 1 and 1+1 is two which meens we will refer to row two where reds information
is at. This is what the final trigger is:

  • Leavers
    • Events
      • Player - Player 1 (Red) leaves the game
      • Player - Player 2 (Blue) leaves the game
      • Player - Player 3 (Teal) leaves the game
    • Conditions
    • Actions
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row ((Player number of (Triggering player)) + 1) to ((|cffA2B5CD + (Name of (Triggering player))) + ( <left> + |r))

Multiple Multiboards:
If you are going to have more than one multiboard then you need to assign
your multiboards a variable so you can refer to each of them when updating
and not just use "last created multiboard." Click the "X" at the top of the
trigger editor. Click the "+X" button then find the multiboard option. Name the
variable what you want then hit okay. When you create the multiboard just
assign the variable so you can refer to it as that variable later on. You can
do this using the following trigger.

:thumbs_up: "Only one multiboard can be viewable at a time"

  • Test
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 1 columns and 1 rows, titled Multiboard
      • Set Multiboard1 = (Last created multiboard)

Player Colors:
If you want the players colors to be colored on the multiboard, for example
red be colored red and blue be colored blue then you have to do the
following: Create a new variable (a string) as an array with as many people
that are in your game. Create a new trigger that sets the variables with the
colors. You can find the color codes at this url:
http://war3.incgamers.com/forums/archive/index.php/t-40788.html. All color
codes are are HEX codes with |cff infront of it. the |c tells the world editor
we are starting a color code and the ff makes it 100% opaque. Go to this URL for
500 HEX codes. Just throw |cff intront of the code.
http://cloford.com/resources/colours/500col.htm. You then set the
variables and use them when stating your player names. These are
the two triggers you will use:

  • Player Colors
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set PlayerColors[1] = ((|cffFF0000 + (Name of Player 1 (Red))) + |r)
      • Set PlayerColors[2] = ((|cff0000FF + (Name of Player 2 (Blue))) + |r)

  • Create Multiboard
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to PlayerColors[1]

It will look like this: multiboards_playercolors.jpg

Updating your Multiboard
There is no point to a multiboard if it just says "0" points the whole game. We
can change this 0 points to whatever you want depending on different events
in the game. If you want points to be determined as kills we use the following
concept. If a unit dies we want the score to go up one. We are going to
create a new variable called "playerkills" use the method above but make this
variable an integer. If you want kills to only count if a hero was killed then
use a boolean condition. Dying unit is a hero = true. We then change the
variable and post the new score. This is the trigger:

  • Update Multiboard1
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Dying unit) is A Hero) Equal to True
    • Actions
      • Set PlayerKills = (PlayerKills + 1)
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (String(PlayerKills))

If you are using more than one multiboard you can change the (Last created
multiboard to your variable and if you want kills to count for creeps aswell
take out the condition. If you want to record deaths you do the same thing
but instead use a different variable. If you have more than one player you can do the following:

  • Update Multiboard1
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Dying unit) is A Hero) Equal to True
    • Actions
      • Set PlayerKills[(Player number of (Owner of (Killing unit)))] = (PlayerKills[(Player number of (Owner of (Killing unit)))] + 1)
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (String(PlayerKills[(Player number of (Owner of (Killing unit)))]))
  • [/table][/left]
That is how you update your basic multiboard.

Using Hero Icons
If you want your multiboard to display your heroes icon next to your name
then read on. What we are going to do is assign each hero a value in the
object editor then read this value off and use it determine their icon after
using a variable. First, we need to setup a variable that will store all of the
hero icon paths. Call this "HeroIcons". It should be an array based off of how
many heroes are in your game and should be a string. Next, go to the object
editor and find the field that has your hero icon. Open this up and copy the
text at the bottum. But this into a trigger when assigning the variable like so:

  • Hero Icons
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set HeroIcons[1] = ReplaceableTextures\CommandButtons\BTNHeroPaladin.blp
      • Set HeroIcons[2] = ReplaceableTextures\CommandButtons\BTNHeroArchMage.blp

After assigning this go to the heroes icon you assigned first, in my case the
Human Paladin. Scroll down and find the "Point Value" field.

Multiboards_heroicons1.jpg

Change this to 1.
For the next hero make it 2, and so on. We are then going to create a trigger
that if a unit is sold then assign the icon based off of what was sold. Create
the following trigger:

  • Sell Hero
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • ((Sold unit) is A Hero) Equal to True
    • Actions
      • Multiboard - Set the icon for (Last created multiboard) item in column 2, row 2 to HeroIcons[(Point-value of (Sold unit))]

This will only work for the heroes that you have a set a variable for and set
a pointvalue for. Your multiboard creation trigger should look somewhat like
this. The icon section should hide text and show icons:

  • Create Multiboard
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 2 columns and 2 rows, titled Multiboard
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 2 to 10.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 1 to 10.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 1 to 5.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 2 to 5.00% of the total screen width
      • Multiboard - Minimize (Last created multiboard)
      • Multiboard - Maximize (Last created multiboard)
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Player
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Icon
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to 0
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to PlayerColors[1]
      • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Show text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 2 to Show text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column 2, row 1 to Show text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column 2, row 2 to Hide text and Show icons

Now when a unit is sold and is one of the heroes that you specified the point
value is used to call upon the array number of the icon and place it on the
multiboard.

Multiboard Timers

Multiboard timers allow you to keep track of gametime in the multiboard title.
This is one of the more advanced topics along with hero icons, so if you
havent grasped the ideas of multiboards this may be more challenging. We
are first going to want to create two variables, both integers. One is:
GameTimeMinutes and the other is GameTimeSeconds. We are going to use
these in the multiboard header. Create a new trigger and the event should be
every 1 second. Then the actions will show the time and once 60 seconds is
reached the seconds variable will be reset to 0 and the minutes variable
will increase by one. This is the trigger used. (a color code has been used for
added effect, it is a lightblue.)

  • Game Time
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • GameTimeSeconds Greater than or equal to 60
        • Then - Actions
          • Multiboard - Change the title of (Last created multiboard) to ((((Multiboard + |cff8EE5EE) + (String(GameTimeMinutes))) + (: + (String(GameTimeSeconds))))
          • Set GameTimeMinutes = (GameTimeMinutes + 1)
          • Set GameTimeSeconds = 0
        • Else - Actions
          • Multiboard - Change the title of (Last created multiboard) to ((((Multiboard + |cff8EE5EE) + (String(GameTimeMinutes))) + (: + (String(GameTimeSeconds))))
          • Set GameTimeSeconds = (GameTimeSeconds + 1)

GetLocalPlayer (A different multiboard for every player) (NEW)

GetLocalPlayer allows a different multiboard to be displayed to every player.
For example you can have 1 multiboard that shows your health and xp for
every player but each one is just their health and xp not the other players.
We can do this by using some simple JASS. Before we get started, remember
that in JASS instead of red being player one and blue being player two, red
is player 0 and blue is player 1. First, we are going to hide the multiboard
after it is created. Then use a custom script, show it, and then 1 more
custom script.

1. Create your multiboard, use the ways stated in the previous sections of the tutorial.
Put the special information you want for each player on each multiboard.
Remember: use a variable when creating multiple
multiboards or else you can't refer to them later on. After you have completed
your multiboards add this at the end of each of the triggers:

  • GetLocalPlayer
    • Events
    • Conditions
    • Actions
      • Multiboard - Hide (Last created multiboard)
      • Custom script: if ( GetLocalPlayer() == Player(0) ) then
      • Multiboard - Show (Last created multiboard)
      • Custom script: endif

In the part where it says if ( GetLocalPlayer() == Player(0) ) then Change the
0 to whatever players multiboard this is - 1. So if this is reds multiboard then
make that number 0. If it is blues multiboard make that number 1 if it is teals
multiboard make that number 2. This will display the multiboard only to that player!

This concludes my tutorial folks! If you have any questions or anything that
you think i should add to the tutorial please post and i will gladly help. Thank
you for taking the time to read and I hope i help a few people,

-Inverted


5/30/08, 11:19, added that only one multiboard can be displayed at once
5/30/08, 11:33, added looping section to the tutorial
5/30/08, 11:35, added a HEX color link
5/30/08, 12:05, added leavers section to the tutorial
5/30/08, 11:06 PM, added GetLocalPlayer section
5/31/08, 12:36 AM, added hero health %'s section
 
Last edited:
Level 40
Joined
Dec 14, 2005
Messages
10,532
You could optimize your triggers by using the option of applying a change to all rows or all columns that exists in GUI.

Also, perhaps make your multiboard for a few players, and have a loop to apply the different settings, so that people know to approach it that way rather than writing out every single line?

Also, your colour codes link is broken.

Also, when you mention multiple multiboards, you should mention directly before/after it that only one multiboard may be displayed at a time.

Otherwise, good tutorial.
 
Level 22
Joined
Feb 26, 2008
Messages
892
If you want another area for expansion, you might try explaining the Local Player function, and how you can use it to create one multiboard for each individual player.
This tutorial has great potential. A few fixes and it will be great! :thumbs_up:
 
  • Like
Reactions: Hin
Level 17
Joined
Apr 13, 2008
Messages
1,608
Very nice tutorial, explains everything, I believe, but one thing. As Ghan_04 said: how to show different multiboards to different players would be nice, needed, I would say.
At least mention it and redirect the reader to a GetLocalPlayer tutorial :p
 
Last edited:
Level 5
Joined
May 1, 2006
Messages
131
Dude Inverted.. I know what you can add to your tutorail :p

You can add how to put your heroes HP percentage in there and have it update every 1/2 second or something? :D
Im trying to work on that for my multiboard :p
 
Level 5
Joined
May 1, 2006
Messages
131
Holy crap dude! Wait! There must be ore you can keep adding on to this tutorial to make it the god tutorial of multiboards!

Uhh..
Add.. Something to it that you haven't added yet! Yeah! :D


EDIT:
.. I think it is done.. There can't be anything missing.. Wait! There is! :D
Add how to put your heros experience count:
Now / Until level

Add...
How to add "How many skill points your hero has left over"
Like:
You have obtained ## skill points out of your ## max.

Add...
Some other random stuff you can think of.. Even if its trash just add it so it makes the guide more complex and just about anyone can use it for the crappiest of maps because you have the leetest multiboard guide! :D
 
Level 5
Joined
May 1, 2006
Messages
131
Inverted, im not going to make a multiboard with everything your adding to this, im just going to use what i need. Im giving you stuff to add to your tutorial so that it has just about everything you can add to at multiboard tutorial. :D
 
Level 5
Joined
May 1, 2006
Messages
131
if a multiboard had stuff in the game that made no sense it would be for a lost cause game.. Like in a TD that told you how much life your towers had >.<..

Speaking of which you should add to your tutorial "How many mobs are on the map".
:D
 
Level 14
Joined
Oct 27, 2007
Messages
1,395
This is an awesome tutorial. But I would point out that in the "Updating Your Multiboard Section" that when doing Kills/points for Players other than Player 1, you have to change row 2, to
  • ((Player number of (Owner of (KillingUnit))) + 1
 
Level 12
Joined
Feb 23, 2007
Messages
1,030
Seconds = I2S(ModuloInteger(udg_Count,60))
Minutes = I2S(ModuloInteger((udg_Count/60),60))
Hours = I2S(udg_Count / 3600)

You really should change it to this. Uses only 1 variable and doesn't require all those conditions. Computers can do math faster than anything else. (Square roots and random numbers are the only things that are slow)
 
Level 1
Joined
Oct 19, 2004
Messages
7
I was thinking that you could add some help on making an integer variable for the board so that when you create the board only the number of players in the map will be added as rows to the board. So no matter what, there won't be excess rows doing nothing. I know its only a simple thing but maybe some people don't know how to do it.
 
Level 4
Joined
Aug 7, 2008
Messages
115
Someone help with a thing ? I need a multiboard with Boss Life...But the multiboard have to show to all players...the boss have to be Brown. I tried it Once but didnt work well... im fckd...
So can someone help me ?
thanks,
 
Level 21
Joined
Dec 9, 2007
Messages
3,096
You should add a tutorial for how to make a multiboard menu ; how to fit both, stats multiboard and menu multiboard in 1 multiboard ; create simple multiboard function ; restriction for menu selecting rows/collumns etc.
How to create a multiboard bar...
Etc.
 
Level 6
Joined
Mar 22, 2008
Messages
175
Awesome tutorial. I just need help in one part. How to make

Set PlayerKills = (Player number of (Owner of (Killing unit))) = (PlayerKills(Player number of (Owner of killing unit))) + 1
and
Set the text for (Last created multiboard) item in column 2, row 2 to (String(PlayerKills(Player number of(Owner of (Killing unit)))))
Help much appreciated.
 
Level 4
Joined
Mar 19, 2008
Messages
19
Awesome tutorial. I just need help in one part. How to make

Set PlayerKills = (Player number of (Owner of (Killing unit))) = (PlayerKills(Player number of (Owner of killing unit))) + 1
and
Set the text for (Last created multiboard) item in column 2, row 2 to (String(PlayerKills(Player number of(Owner of (Killing unit)))))
Help much appreciated.
yea i need help with that too...
 
Level 10
Joined
Apr 13, 2005
Messages
630
I will help you guys in this by breaking it down


PlayerColors[(Integer A)]
Playercolors is an variable that is (player color) So first you have to make a variable and name it w.e u wish. Then go to variable type and look for player color. Once that is set you have to 1. set up what integer a numbers will be then use Set (name of variable) = (name of variable)[For loop integer A] *should be in functions right under the first one named arithmetic
--------------------------------------------------------
Set PlayerKills = (Player number of (Owner of (Killing unit))) = (PlayerKills(Player number of (Owner of killing unit))) + 1

This one is more drawn out. Make a variable named "playerkills" and the type will be an integer ALSO make it an array and set it to 1. the other varible name "killing unit". Now make a trigger that is "set variable" *set playerkills[Look for *Player - player number] now click the triggering player and put owner of unit and replace *unit* with killing unit. the next part will have = after so this will be the stored stuff. now use arithmetic and for the first one you want to imput the variable the same thing as you did with the first part then just hit ok and its all set up.
--------------------------------------------------------
Set the text for (Last created multiboard) item in column 2, row 2 to (String(PlayerKills(Player number of(Owner of (Killing unit)))))

is basic and i shouldnt really do this but just look for the trigger *Multiboard* set item text. This will need to be edited by the column and row you have the integer at. I hoped i helped if not just repost and ill help more
 
Top