Removing Rows?

Ub3r_

New Member
Reaction score
4
How do I remove rows from the multiboard if a player isnt playing or has left? At the moment it looks like this:

8xoifp.jpg
 

Ub3r_

New Member
Reaction score
4
show your triggers pls

Prepare to have your eyes bleed!

Multiboard Create
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Multiboard - Create a multiboard with 3 columns and 18 rows, titled The Forsaken
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 1, row 3 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 4 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 5 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 6 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 7 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 8 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 9 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 10 to Hide text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 11 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 12 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 13 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 14 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 15 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 16 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 17 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 18 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
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 3 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 4 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 5 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 6 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 7 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 8 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 9 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 10 to Hide text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 11 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 12 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 13 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 14 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 15 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 16 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 17 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 18 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 1 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 2 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 3 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 4 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 5 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 6 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 7 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 8 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 9 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 10 to Hide text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 11 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 12 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 13 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 14 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 15 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 16 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 17 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 18 to Show text and Hide icons
Multiboard - Set the width for (Last created multiboard) item in column 1, row 1 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 2 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 3 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 4 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 5 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 6 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 7 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 8 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 9 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 10 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 11 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 12 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 13 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 14 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 15 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 16 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 17 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 18 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 1 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 2 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 3 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 4 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 5 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 6 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 7 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 8 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 9 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 10 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 11 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 12 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 13 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 14 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 15 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 16 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 17 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 18 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 1 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 2 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 3 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 4 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 5 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 6 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 7 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 8 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 9 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 10 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 11 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 12 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 13 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 14 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 15 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 16 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 17 to 6.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 18 to 6.50% of the total screen width
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 Kills
Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to Deaths
Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to |cFFFF0000Left Team...
If ((Player 1 (Red) slot status) Equal to Is playing) then do (Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to ((Player_Colours[1] + (Name of Player 1 (Red))) + |r)) else do (Do nothing)
If ((Player 2 (Blue) slot status) Equal to Is playing) then do (Multiboard - Set the text for (Last created multiboard) item in column 1, row 4 to ((Player_Colours[2] + (Name of Player 2 (Blue))) + |r)) else do (Do nothing)
If ((Player 3 (Teal) slot status) Equal to Is playing) then do (Multiboard - Set the text for (Last created multiboard) item in column 1, row 5 to ((Player_Colours[3] + (Name of Player 3 (Teal))) + |r)) else do (Do nothing)
If ((Player 4 (Purple) slot status) Equal to Is playing) then do (Multiboard - Set the text for (Last created multiboard) item in column 1, row 6 to ((Player_Colours[4] + (Name of Player 4 (Purple))) + |r)) else do (Do nothing)
If ((Player 5 (Yellow) slot status) Equal to Is playing) then do (Multiboard - Set the text for (Last created multiboard) item in column 1, row 7 to ((Player_Colours[5] + (Name of Player 5 (Yellow))) + |r)) else do (Do nothing)
If ((Player 6 (Orange) slot status) Equal to Is playing) then do (Multiboard - Set the text for (Last created multiboard) item in column 1, row 8 to ((Player_Colours[6] + (Name of Player 6 (Orange))) + |r)) else do (Do nothing)
Multiboard - Set the text for (Last created multiboard) item in column 1, row 9 to Total
Multiboard - Set the text for (Last created multiboard) item in column 1, row 10 to Blank
Multiboard - Set the text for (Last created multiboard) item in column 1, row 11 to |cFF00FF00Right Tea...
If ((Player 7 (Green) slot status) Equal to Is playing) then do (Multiboard - Set the text for (Last created multiboard) item in column 1, row 12 to ((Player_Colours[7] + (Name of Player 7 (Green))) + |r)) else do (Do nothing)
If ((Player 8 (Pink) slot status) Equal to Is playing) then do (Multiboard - Set the text for (Last created multiboard) item in column 1, row 13 to ((Player_Colours[8] + (Name of Player 8 (Pink))) + |r)) else do (Do nothing)
If ((Player 9 (Gray) slot status) Equal to Is playing) then do (Multiboard - Set the text for (Last created multiboard) item in column 1, row 14 to ((Player_Colours[9] + (Name of Player 9 (Gray))) + |r)) else do (Do nothing)
If ((Player 10 (Light Blue) slot status) Equal to Is playing) then do (Multiboard - Set the text for (Last created multiboard) item in column 1, row 15 to ((Player_Colours[10] + (Name of Player 10 (Light Blue))) + |r)) else do (Do nothing)
If ((Player 11 (Dark Green) slot status) Equal to Is playing) then do (Multiboard - Set the text for (Last created multiboard) item in column 1, row 16 to ((Player_Colours[11] + (Name of Player 11 (Dark Green))) + |r)) else do (Do nothing)
If ((Player 12 (Brown) slot status) Equal to Is playing) then do (Multiboard - Set the text for (Last created multiboard) item in column 1, row 17 to ((Player_Colours[12] + (Name of Player 12 (Brown))) + |r)) else do (Do nothing)
Multiboard - Set the text for (Last created multiboard) item in column 1, row 18 to Total
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 3 to (String(Kill_Count))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 3 to (String(Death_Count))
Else - Actions
Do nothing
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 4 to (String(Kill_Count))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 4 to (String(Death_Count))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 3 (Teal) slot status) Equal to Is playing
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 5 to (String(Kill_Count))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 5 to (String(Death_Count))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 4 (Purple) slot status) Equal to Is playing
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 6 to (String(Kill_Count))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 6 to (String(Death_Count))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 5 (Yellow) slot status) Equal to Is playing
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 7 to (String(Kill_Count))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 7 to (String(Death_Count))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 6 (Orange) slot status) Equal to Is playing
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 8 to (String(Kill_Count))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 8 to (String(Death_Count))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 7 (Green) slot status) Equal to Is playing
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 12 to (String(Kill_Count))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 12 to (String(Death_Count))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 8 (Pink) slot status) Equal to Is playing
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 13 to (String(Kill_Count))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 13 to (String(Death_Count))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 9 (Gray) slot status) Equal to Is playing
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 14 to (String(Kill_Count))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 14 to (String(Death_Count))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 10 (Light Blue) slot status) Equal to Is playing
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 15 to (String(Kill_Count))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 15 to (String(Death_Count))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 11 (Dark Green) slot status) Equal to Is playing
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 16 to (String(Kill_Count))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 16 to (String(Death_Count))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 12 (Brown) slot status) Equal to Is playing
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 17 to (String(Kill_Count))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 17 to (String(Death_Count))
Else - Actions
Do nothing

I warned you. I had it set out a different way but then changed my mind after to make it work how I wanted. It still works so don't tell me to remake the whole trigger. I just need to work ut this.
 

UndeadDragon

Super Moderator
Reaction score
447
Like this?:

Code:
Multiboard - Change the number of rows for (Last created multiboard) to ((Number of rows in (Last created multiboard)) - 1)

EDIT: Wow, your triggers are very inefficient :p
 

Ub3r_

New Member
Reaction score
4
Like this?:

Code:
Multiboard - Change the number of rows for (Last created multiboard) to ((Number of rows in (Last created multiboard)) - 1)

EDIT: Wow, your triggers are very inefficient :p

Thanks ahaha. Just one thing, will that remove the rows from the bottom of the multiboard or will it remove them where a players name is supposed to be?

EDIT: It killed my multiboard because it took it from the bottom.
 

jnZ

I
Reaction score
64
dude you rly shouldnt do those "do nothing" lines, they are nonsense and just an additional line ^^ rly a waste of time

EDIT: oh forgot to comment about your multiboard ^^

so you want it so that if a player leaves his row disappears in the multiboard? or just on map init that there are as many rows as players?
 

Draphoelix

It's not the wintercold that's killing me
Reaction score
132
Can you make a periodic trigger to set the rows to numbers of player playing?
 

manofsteel

New Member
Reaction score
36
Code:
Multiboard - Set the display style for (Last created multiboard) item in column 0, row 0 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 10 to Hide text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 10 to Hide text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 10 to Hide text and Hide icons

You can change the show/hide stuff into this^^.
And take a multiboard tutorial and use loops.
(0 affects all rows/columns.)

EDIT*You can change into this:
Multiboard - Set the width for (Last created multiboard) item in column 0, row 0 to 6.50% of the total screen width
 

Ub3r_

New Member
Reaction score
4
Code:
Multiboard - Set the display style for (Last created multiboard) item in column 0, row 0 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 10 to Hide text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 10 to Hide text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 10 to Hide text and Hide icons

You can change the show/hide stuff into this^^.
And take a multiboard tutorial and use loops.

The tutorial on world-editor-tutorals.thehelper.net doesnt work. At all. All other tutorials for multiboards are either this one or based off this one. Ive tried it many times before, also my method works and I am happy with it.

EDIT: Doesn't work
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
Destroy the multiboard of yours, run that very exact trigger once, should solve it.

As in, you create a whole new multiboard, removing the old one.

Ps: when you have two lines like this (or more):
Code:
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

You could have done this:
Code:
Actions
    For each (Integer A) from 1 to 2, do (Actions)
        Loop - Actions
            Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Hide icons
First time the "integer A loop" is run, the number switched with the "integer A" text in the "Multiboard.." line is switched with number 1, it runs two times, why? Because "from 1 to 2", so...
 

Ub3r_

New Member
Reaction score
4
Destroy the multiboard of yours, run that very exact trigger once, should solve it.

As in, you create a whole new multiboard, removing the old one.

Ps: when you have two lines like this (or more):
Code:
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

You could have done this:
Code:
Actions
    For each (Integer A) from 1 to 2, do (Actions)
        Loop - Actions
            Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Hide icons
First time the "integer A loop" is run, the number switched with the "integer A" text in the "Multiboard.." line is switched with number 1, it runs two times, why? Because "from 1 to 2", so...

What do you mean by destroying it? Btw, thanks for the tip.
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top