How to: Create Multiboards

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Multiboard I
a multiboard, which stores team score and flag captures, loses. Mainly for capture the flag type of maps.​

Frozen Throne required

Step 1 - Multiboard initialization

cc_players - string variable array
cc_endtag - string variable
string_owns_flag - string variable
player_playing - player group variable

This initialization is basically the same as the previous one, but one extra variable is set and the cc_players string variable arrays have changed.

Code:
Multiboard Initialization
    Events
        Map initialization
    Conditions
    Actions
        Set players_playing = (All players matching (((Matching player) slot status) Equal to Is playing))
        -------- Gold colour --------
        Set cc_players[0] = |cffffcc00
        -------- Player colours. --------
        Set cc_players[1] = |c00ff0303
        Set cc_players[2] = |c000042ff
        Set cc_players[3] = |c001ce6b9
        Set cc_players[4] = |c00540081
        Set cc_players[5] = |c00fffc01
        Set cc_players[6] = |c00feba0e
        Set cc_players[7] = |c0020c000
        Set cc_players[8] = |c00e55bb0
        Set cc_endtag = |r
        -------- String owns. --------
        Set string_owns_flag[1] = yes
        Set string_owns_flag[2] = no

Step 2 – Multiboard itself

multiboard_flag - multiboard variable
player_row - integer variable, initial value 4
player_colour - integer variable
player_flag_got - integer variable
player_flag_lost - integer variable

Firstly, create a multiboard with 3 columns and 4 + number of players in players_playing. Then set it into a variable. (If you have more than 1 multiboard on your map, then its wiser to set them all into variables. We'll practise this.)

Code:
Multiboard Flag
    Events
        Time - Elapsed game time is 0.00 seconds
    Conditions
    Actions
        Multiboard - Create a multiboard with 3 columns and (4 + (Number of players in players_playing)) rows, titled Information
        Set multiboard_flag = (Last created multiboard)

flag1.jpg

Then, set the text for row 1, column 1-3. For column 1, set it to Team, for column 2, set it to Score and for column 3, set it to Owns the flag.

Code:
    -------- row 1, colum 1, 2, 3. --------
    Multiboard - Set the text for multiboard_flag item in column 1, row 1 to (cc_players[0] + ([Team] + cc_endtag))
    Multiboard - Set the text for multiboard_flag item in column 2, row 1 to (cc_players[0] + ([Score] + cc_endtag))
    Multiboard - Set the text for multiboard_flag item in column 3, row 1 to (cc_players[0] + ([Owns the flag] + cc_endtag))

flag2.jpg

After that set the text and values for row 2, column 1-3, for the red team,

Code:
    -------- row 2, colum 1, 2, 3. --------
    -------- red team --------
    Multiboard - Set the text for multiboard_flag item in column 1, row 2 to (cc_players[1] + (Red Team + cc_endtag))
    Multiboard - Set the text for multiboard_flag item in column 2, row 2 to (String(team_score[1]))
    Multiboard - Set the text for multiboard_flag item in column 3, row 2 to string_owns_flag[2]

flag3.jpg

,and for row 3, column 1-3, for the blue team.

Code:
    -------- row 3, colum 1, 2, 3. --------
    -------- blue team --------
    Multiboard - Set the text for multiboard_flag item in column 1, row 3 to (cc_players[2] + (Blue Team + cc_endtag))
    Multiboard - Set the text for multiboard_flag item in column 2, row 3 to (String(team_score[2]))
    Multiboard - Set the text for multiboard_flag item in column 3, row 3 to string_owns_flag[2]

flag4.jpg

Now, one final row has to be set, before we begin to add players and set the multiboard width and style. Set the text for row 4, column 1 to Player name, for column 2 to flags obtained and for column 3, flags lost.

Code:
    -------- row 4, colum 1, 2, 3. --------
    Multiboard - Set the text for multiboard_flag item in column 1, row 4 to (cc_players[0] + ([Player Name] + cc_endtag))
    Multiboard - Set the text for multiboard_flag item in column 2, row 4 to (cc_players[0] + ([Flags obtained] + cc_endtag))
    Multiboard - Set the text for multiboard_flag item in column 3, row 4 to (cc_players[0] + ([Flags lost] + cc_endtag))

flag5.jpg

Now, the loop part. Firstly, change the multiboard style to hide all icons.

Code:
    -------- loop part. --------
    For each (Integer A) from 1 to (4 + (Number of players in players_playing)), do (Actions)
        Loop - Actions
            -------- Multiboard style. All icons have been hidden. --------
            Multiboard - Set the display style for multiboard_flag item in column 1, row (Integer A) to Show text and Hide icons
            Multiboard - Set the display style for multiboard_flag item in column 2, row (Integer A) to Show text and Hide icons
            Multiboard - Set the display style for multiboard_flag item in column 3, row (Integer A) to Show text and Hide icons

Then, set the width.

Code:
            -------- Multiboard width. --------
            Multiboard - Set the width for multiboard_flag item in column 1, row (Integer A) to 9.00% of the total screen width
            Multiboard - Set the width for multiboard_flag item in column 2, row (Integer A) to 5.00% of the total screen width
            Multiboard - Set the width for multiboard_flag item in column 3, row (Integer A) to 9.00% of the total screen width

After that, add the players.

Code:
            -------- Player adding part. --------
            -------- Player name. --------
            Set player_row = (player_row + 1)
            Set player_colour = (player_colour + 1)
            Multiboard - Set the text for multiboard_flag item in column 1, row player_row to (cc_players[player_colour] + ((Name of (Player(player_colour))) + cc_endtag))

flag6.jpg

Then, just like adding the kills variable for the previous multiboard, we'll add the player_flag_got variable, representing the amount of flags captured, to the multiboard,

Code:
-------- Player flags. --------
Multiboard - Set the text for multiboard_flag item in column 2, row player_row to (String(player_flag_got[player_colour]))

flag7.jpg

, and also the player_flag_lost variable, representing the amount of flags stolen from the player, to the multiboard.

Code:
-------- Player flags lost --------
Multiboard - Set the text for multiboard_flag item in column 3, row player_row to (String(player_flag_lost[player_colour]))

flag8.jpg

Lastly, show the multiboard. You should see something like this.
Code:
Multiboard Flag
    Events
        Time - Elapsed game time is 0.00 seconds
    Conditions
    Actions
        Multiboard - Create a multiboard with 3 columns and (4 + (Number of players in players_playing)) rows, titled Information
        Set multiboard_flag = (Last created multiboard)
        -------- row 1, colum 1, 2, 3. --------
        Multiboard - Set the text for multiboard_flag item in column 1, row 1 to (cc_players[0] + ([Team] + cc_endtag))
        Multiboard - Set the text for multiboard_flag item in column 2, row 1 to (cc_players[0] + ([Score] + cc_endtag))
        Multiboard - Set the text for multiboard_flag item in column 3, row 1 to (cc_players[0] + ([Owns the flag] + cc_endtag))
        -------- row 2, colum 1, 2, 3. --------
        -------- red team --------
        Multiboard - Set the text for multiboard_flag item in column 1, row 2 to (cc_players[1] + (Red Team + cc_endtag))
        Multiboard - Set the text for multiboard_flag item in column 2, row 2 to (String(team_score[1]))
        Multiboard - Set the text for multiboard_flag item in column 3, row 2 to string_owns_flag[2]
        -------- row 3, colum 1, 2, 3. --------
        -------- blue team --------
        Multiboard - Set the text for multiboard_flag item in column 1, row 3 to (cc_players[2] + (Blue Team + cc_endtag))
        Multiboard - Set the text for multiboard_flag item in column 2, row 3 to (String(team_score[2]))
        Multiboard - Set the text for multiboard_flag item in column 3, row 3 to string_owns_flag[2]
        -------- row 4, colum 1, 2, 3. --------
        Multiboard - Set the text for multiboard_flag item in column 1, row 4 to (cc_players[0] + ([Player Name] + cc_endtag))
        Multiboard - Set the text for multiboard_flag item in column 2, row 4 to (cc_players[0] + ([Flags obtained] + cc_endtag))
        Multiboard - Set the text for multiboard_flag item in column 3, row 4 to (cc_players[0] + ([Flags lost] + cc_endtag))
        -------- loop part. --------
        For each (Integer A) from 1 to (4 + (Number of players in players_playing)), do (Actions)
            Loop - Actions
                -------- Multiboard style. All icons have been hidden. --------
                Multiboard - Set the display style for multiboard_flag item in column 1, row (Integer A) to Show text and Hide icons
                Multiboard - Set the display style for multiboard_flag item in column 2, row (Integer A) to Show text and Hide icons
                Multiboard - Set the display style for multiboard_flag item in column 3, row (Integer A) to Show text and Hide icons
                -------- Multiboard width. --------
                Multiboard - Set the width for multiboard_flag item in column 1, row (Integer A) to 9.00% of the total screen width
                Multiboard - Set the width for multiboard_flag item in column 2, row (Integer A) to 5.00% of the total screen width
                Multiboard - Set the width for multiboard_flag item in column 3, row (Integer A) to 9.00% of the total screen width
                -------- Player adding part. --------
                -------- Player name. --------
                Set player_row = (player_row + 1)
                Set player_colour = (player_colour + 1)
                Multiboard - Set the text for multiboard_flag item in column 1, row player_row to (cc_players[player_colour] + ((Name of (Player(player_colour))) + cc_endtag))
                -------- Player flags. --------
                Multiboard - Set the text for multiboard_flag item in column 2, row player_row to (String(player_flag_got[player_colour]))
                -------- Player flags lost --------
                Multiboard - Set the text for multiboard_flag item in column 3, row player_row to (String(player_flag_lost[player_colour]))
        Multiboard - Show multiboard_flag

flag9.jpg

Step 3 - updating the values

For capture the flag, ther can be alot of events for updating the values. Make your own trigger with events and update the values just like with the first multiboard.

If team red captures the flag, change the leaderboard 'owns the flag' to 'yes' for team red and if the team, who captured the flag was blue, change it 'yes' fro blue team. If a team loses the flag, change it to 'no'.
If a player captures the flag, add +1 to his 'capture score' and +1 to the 'flag lost' score to the player, whom he got it from.
If a hero in team red enters to red base with the blue flag, set the red team score to +1. (The same for blue, if blue enters to its base with the red flag).

(Your events and conditions) For the 'captures the flag' and from whom the player captured it.

Code:
Player Flag Obtains
    Events
    Conditions
    Actions
        -------- Who captured the flag --------
        Set player_flag_got[(Player number of (Owner of (Casting unit)))] = ((Player number of (Owner of (Casting unit))) + 1)
        Multiboard - Set the text for multiboard_flag item in column 2, row (4 + (Player number of (Owner of (Casting unit)))) to (String(player_flag_got[(Player number of (Owner of (Casting unit)))]))
        -------- From whom the flag was stolen --------
        Set player_flag_lost[(Player number of (Owner of (Target unit of ability being cast)))] = (player_flag_lost[(Player number of (Owner of (Target unit of ability being cast)))] + 1)
        Multiboard - Set the text for multiboard_flag item in column 3, row (4 + (Player number of (Owner of (Target unit of ability being cast)))) to (String(player_flag_lost[(Player number of (Owner of (Target unit of ability being cast)))]))

For overall team score. This one is for red, make another for blue. (your condtions and events)

Code:
Red score
    Events
    Conditions
    Actions
        Set team_score[1] = (team_score[1] + 1)
        Multiboard - Set the text for multiboard_flag item in column 2, row 2 to (String(team_score[1]))
 

Attachments

  • Multiboard I.w3x
    15.9 KB · Views: 756

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Multiboard IIA multiboard for 1 player rpgs, which stores data.​

Step 1
- Multiboard itself

Firstly, just initialize a few colour codes. It can just be me, that I hate typing stuff all the time, but eh, variables make it easier. (If you were capable of doing the 2nd multiboard, you'll find this (rather) easy(ier))

cc_gold - string variable
cc_endtag - string variable
player_kills - integer variable
player_deaths - integer variable
player_exp - integer variable
player_abilities - interger variable array

Code:
Multiboard Initialization
    Events
        Map initialization
    Conditions
    Actions
        Set cc_gold = |cffffcc00
        Set cc_endtag = |r

Now to the multiboard. Create a multiboard with 2 columns and 12 rows. Now, instead of setting the witdh and style in the end, make an integer loop and set it in the beginning.

Code:
Multiboard
    Events
        Time - Elapsed game time is 0.00 seconds
    Conditions
    Actions
        Multiboard - Create a multiboard with 2 columns and 12 rows, titled Information
        -------- loop part --------
        For each (Integer A) from 1 to 12, do (Actions)
            Loop - Actions
                -------- width --------
                Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 11.00% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 6.00% of the total screen width
                -------- display style --------
                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

We are going to use some icons, but its more rational to hide them all in the beginning and enable them one by one fro needed rows, that disabling them all for each row and column separately.

Now, we are going to add the heroes spells into the multiboard. I have chosen a 'paladin' with his default skills.

Code:
    -------- row 1, colum 1, 2 --------
    Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to (cc_gold + ([Ability Name] + cc_endtag))
    Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to [Level]

shot1.jpg

Firstly, I set the name, then set the icon and set the level of the abilty unlearnt.

Code:
    -------- ABILITIES --------
    -------- row 2, colum 1, 2 --------
    Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to Holy Light  
    Multiboard - Set the icon for (Last created multiboard) item in column 1, row 2 to ReplaceableTextures\CommandButtons\BTNHolyBolt.blp
    Multiboard - Set the display style for (Last created multiboard) item in column 1, row 2 to Show text and Show icons
    Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (cc_gold + (unlearnt + cc_endtag))

shot2.jpg

Then I'll add the 3 remaining abilities.

Code:
    -------- row 3, colum 1, 2 --------
    Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to Divine Shield
    Multiboard - Set the icon for (Last created multiboard) item in column 1, row 3 to ReplaceableTextures\CommandButtons\BTNDivineIntervention.blp
    Multiboard - Set the display style for (Last created multiboard) item in column 1, row 3 to Show text and Show icons
    Multiboard - Set the text for (Last created multiboard) item in column 2, row 3 to (cc_gold + (unlearnt + cc_endtag))
    -------- row 4, colum 1, 2 --------
    Multiboard - Set the text for (Last created multiboard) item in column 1, row 4 to Devotion Aura
    Multiboard - Set the icon for (Last created multiboard) item in column 1, row 4 to ReplaceableTextures\PassiveButtons\PASBTNDevotion.blp
    Multiboard - Set the display style for (Last created multiboard) item in column 1, row 4 to Show text and Show icons
    Multiboard - Set the text for (Last created multiboard) item in column 2, row 4 to (cc_gold + (unlearnt + cc_endtag))
    -------- row 5, colum 1, 2 --------
    Multiboard - Set the text for (Last created multiboard) item in column 1, row 5 to Ressurrection
    Multiboard - Set the icon for (Last created multiboard) item in column 1, row 5 to ReplaceableTextures\CommandButtons\BTNResurrection.blp
    Multiboard - Set the display style for (Last created multiboard) item in column 1, row 5 to Show text and Show icons
    Multiboard - Set the text for (Last created multiboard) item in column 2, row 5 to (cc_gold + (unlearnt + cc_endtag))

shot3.jpg

Now, Ill leave one row blank and add the experience.

Code:
        -------- Experience --------
        Multiboard - Set the text for (Last created multiboard) item in column 1, row 7 to (cc_gold + ([Experience] + cc_endtag))
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 7 to [Amount]
        Multiboard - Set the text for (Last created multiboard) item in column 1, row 8 to Experience
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 8 to (cc_gold + ((String(player_exp)) + cc_endtag))
        Multiboard - Set the icon for (Last created multiboard) item in column 1, row 8 to ReplaceableTextures\CommandButtons\BTNOrcBattleStandard.blp
        Multiboard - Set the display style for (Last created multiboard) item in column 1, row 8 to Show text and Show icons

shot4.jpg

After that, the kills of the hero.

Code:
    -------- Kills --------
    Multiboard - Set the text for (Last created multiboard) item in column 1, row 9 to (cc_gold + ([Kills] + cc_endtag))
    Multiboard - Set the text for (Last created multiboard) item in column 1, row 10 to Kills
    Multiboard - Set the icon for (Last created multiboard) item in column 1, row 10 to ReplaceableTextures\CommandButtons\BTNThoriumMelee.blp
    Multiboard - Set the display style for (Last created multiboard) item in column 1, row 10 to Show text and Show icons
    Multiboard - Set the text for (Last created multiboard) item in column 2, row 10 to (cc_gold + ((String(player_kills)) + cc_endtag))

shot5.jpg

And finally, the deaths and show the multiboard.

Code:
    -------- Deaths --------
    Multiboard - Set the text for (Last created multiboard) item in column 1, row 11 to (cc_gold + ([Deaths] + cc_endtag))
    Multiboard - Set the text for (Last created multiboard) item in column 1, row 12 to Deaths
    Multiboard - Set the icon for (Last created multiboard) item in column 1, row 12 to ReplaceableTextures\CommandButtons\BTNAnkh.blp
    Multiboard - Set the display style for (Last created multiboard) item in column 1, row 12 to Show text and Show icons
    Multiboard - Set the text for (Last created multiboard) item in column 2, row 12 to (cc_gold + ((String(player_death)) + cc_endtag))
    Multiboard - Show (Last created multiboard)

shot6.jpg

The trigger came out long, but its not difficult to make. It just takes some time and concentration.

You should see something like this:

Code:
Multiboard
    Events
        Time - Elapsed game time is 0.00 seconds
    Conditions
    Actions
        Multiboard - Create a multiboard with 2 columns and 12 rows, titled Information
        -------- loop part --------
        For each (Integer A) from 1 to 12, do (Actions)
            Loop - Actions
                -------- width --------
                Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 11.00% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 6.00% of the total screen width
                -------- display style --------
                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
        -------- row 1, colum 1, 2 --------
        Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to (cc_gold + ([Ability Name] + cc_endtag))
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to [Level]
        -------- ABILITIES --------
        -------- row 2, colum 1, 2 --------
        Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to Holy Light  
        Multiboard - Set the icon for (Last created multiboard) item in column 1, row 2 to ReplaceableTextures\CommandButtons\BTNHolyBolt.blp
        Multiboard - Set the display style for (Last created multiboard) item in column 1, row 2 to Show text and Show icons
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (cc_gold + (unlearnt + cc_endtag))
        -------- row 3, colum 1, 2 --------
        Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to Divine Shield
        Multiboard - Set the icon for (Last created multiboard) item in column 1, row 3 to ReplaceableTextures\CommandButtons\BTNDivineIntervention.blp
        Multiboard - Set the display style for (Last created multiboard) item in column 1, row 3 to Show text and Show icons
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 3 to (cc_gold + (unlearnt + cc_endtag))
        -------- row 4, colum 1, 2 --------
        Multiboard - Set the text for (Last created multiboard) item in column 1, row 4 to Devotion Aura
        Multiboard - Set the icon for (Last created multiboard) item in column 1, row 4 to ReplaceableTextures\PassiveButtons\PASBTNDevotion.blp
        Multiboard - Set the display style for (Last created multiboard) item in column 1, row 4 to Show text and Show icons
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 4 to (cc_gold + (unlearnt + cc_endtag))
        -------- row 5, colum 1, 2 --------
        Multiboard - Set the text for (Last created multiboard) item in column 1, row 5 to Ressurrection
        Multiboard - Set the icon for (Last created multiboard) item in column 1, row 5 to ReplaceableTextures\CommandButtons\BTNResurrection.blp
        Multiboard - Set the display style for (Last created multiboard) item in column 1, row 5 to Show text and Show icons
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 5 to (cc_gold + (unlearnt + cc_endtag))
        -------- Experience --------
        Multiboard - Set the text for (Last created multiboard) item in column 1, row 7 to (cc_gold + ([Experience] + cc_endtag))
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 7 to [Amount]
        Multiboard - Set the text for (Last created multiboard) item in column 1, row 8 to Experience
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 8 to (cc_gold + ((String(player_exp)) + cc_endtag))
        Multiboard - Set the icon for (Last created multiboard) item in column 1, row 8 to ReplaceableTextures\CommandButtons\BTNOrcBattleStandard.blp
        Multiboard - Set the display style for (Last created multiboard) item in column 1, row 8 to Show text and Show icons
        -------- Kills --------
        Multiboard - Set the text for (Last created multiboard) item in column 1, row 9 to (cc_gold + ([Kills] + cc_endtag))
        Multiboard - Set the text for (Last created multiboard) item in column 1, row 10 to Kills
        Multiboard - Set the icon for (Last created multiboard) item in column 1, row 10 to ReplaceableTextures\CommandButtons\BTNThoriumMelee.blp
        Multiboard - Set the display style for (Last created multiboard) item in column 1, row 10 to Show text and Show icons
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 10 to (cc_gold + ((String(player_kills)) + cc_endtag))
        -------- Deaths --------
        Multiboard - Set the text for (Last created multiboard) item in column 1, row 11 to (cc_gold + ([Deaths] + cc_endtag))
        Multiboard - Set the text for (Last created multiboard) item in column 1, row 12 to Deaths
        Multiboard - Set the icon for (Last created multiboard) item in column 1, row 12 to ReplaceableTextures\CommandButtons\BTNAnkh.blp
        Multiboard - Set the display style for (Last created multiboard) item in column 1, row 12 to Show text and Show icons
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 12 to (cc_gold + ((String(player_death)) + cc_endtag))
        Multiboard - Show (Last created multiboard)

shot7.jpg

Step 2 - Updating the values

I am going to use a preplaced unit, but you can replace it with easy with your unit or a unit variable.

For updating the level of the abilities.

Code:
Abilites
    Events
        Unit - A unit Learns a skill
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Learned Hero Skill) Equal to Human Paladin - Holy Light
            Then - Actions
                Set player_abilties[1] = (player_abilties[1] + 1)
                Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (cc_gold + ((String(player_abilties[1])) + cc_endtag))
            Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Learned Hero Skill) Equal to Human Paladin - Divine Shield
                    Then - Actions
                        Set player_abilties[2] = (player_abilties[2] + 1)
                        Multiboard - Set the text for (Last created multiboard) item in column 2, row 3 to (cc_gold + ((String(player_abilties[2])) + cc_endtag))
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Learned Hero Skill) Equal to Human Paladin - Devotion Aura
                            Then - Actions
                                Set player_abilties[3] = (player_abilties[3] + 1)
                                Multiboard - Set the text for (Last created multiboard) item in column 2, row 4 to (cc_gold + ((String(player_abilties[3])) + cc_endtag))
                            Else - Actions
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    If - Conditions
                                        (Learned Hero Skill) Equal to Human Paladin - Resurrection
                                    Then - Actions
                                        Set player_abilties[4] = (player_abilties[4] + 1)
                                        Multiboard - Set the text for (Last created multiboard) item in column 2, row 5 to (cc_gold + ((String(player_abilties[4])) + cc_endtag))
                                    Else - Actions

For updating the experience.

Code:
Exp
    Events
        Unit - A unit Dies
    Conditions
    Actions
        Set player_exp = (Hero experience of Paladin 0001 <gen>)
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 8 to (cc_gold + ((String(player_exp)) + cc_endtag))

For updating the kills.

Code:
Player kills
    Events
        Unit - A unit Dies
    Conditions
        (Killing unit) Equal to Paladin 0001 <gen>
    Actions
        Set player_kills = (player_kills + 1)
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 10 to (cc_gold + ((String(player_kills)) + cc_endtag))

For updating the deaths.

Code:
Player dies
    Events
        Unit - A unit Dies
    Conditions
        (Dying unit) Equal to Paladin 0001 <gen>
    Actions
        Set player_death = (player_death + 1)
        Multiboard - Set the text for (Last created multiboard) item in column 2, row 12 to (cc_gold + ((String(player_death)) + cc_endtag))
 

Attachments

  • Multiboard II.w3x
    13.3 KB · Views: 577
M

Mythic Fr0st

Guest
hmm

Good tutorial, It taught me a lil ^_^ I didnt really know much about multiboards XD

^_^ i'd give it a "A" in easiness to understand, and B+ in information ^_^

XD
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Yes, hide the multiboard, getlocalplayer nad show it to localplayer. I just might add it. Thanks.
 

Thanatos_820

Death is Not the End
Reaction score
91
WHOO~!! Excellent job Andrewgosu :D! You deserve some rep :D! The tutorial taught me a bunch. I appreciate your help!
 

Rommel

New Member
Reaction score
13
Could u plx make me a demo map with the multiboard system for my arena map?. my map has 4 teams, and i need a board the calculate the teamkills, players kills and show both the players' names and team's names.
 
B

BlackCracker

Guest
I need help making a multi that list food sleep etc. for them i need food to start at 100 and gradually go down until the step on a beacon or w/e can some one help?
 

Corleone

New Member
Reaction score
44
This isn't really the board to ask questions like that, however...
it's not that hard to make. You could set the food / sleep to 100 in a variable, and make a periodic event that removes 1 from that variable every X seconds, and also make the multiboard update every X seconds. I could make one for you, if you want...
 
L

Lightwave

Guest
Anyone have the color codes offhand for players 9-12?
Thanks :)
 
T

TheLostOrc

Guest
I would have to say thats a pretty decent tutorial AndrewGosu. I learned how to make a multiboard and color coding from reading that tutorial. However there are few problems i have with it:

When you give us a example script of what the trigger looks like, you should probbaly underline what needs to be changed. This way, when viewing it, it can be easier to see the imdeatie changes in the Trigger.

When you tell us what variables you are going to use, dont assume that we already have those variables. Say "Add these Variables" or some other way to notify that new variables are in action. Well thats my opinon anyways.

Otherwise, Great guide. I would rate it somewhere between B+ and A.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top