sentrywiz
S
sentrywiz
I'm making a mb for a simple 4 player score with some extras.
I've done complex mb's in the past, and they worked flawlessly. But for some reason, this one won't load players... I've checked for errors and I can't find none.
TO those interested, I'm running this mb trigger after player writes commands that's why there is no event
I've done complex mb's in the past, and they worked flawlessly. But for some reason, this one won't load players... I've checked for errors and I can't find none.
-
MB
- Events
- Conditions
-
Actions
- Trigger - Turn off (This trigger)
- Multiboard - Create a multiboard with 5 columns and (PlayersOnline + 1) rows, titled (|cffc3dbffWeapons Arena|r |c00DEDEDEv1.0|r + ( ( + ((String(TK)) + ))))
- Set MB = (Last created multiboard)
- Multiboard - Set the text for MB item in column 1, row 1 to |cffff8c00#|r
- Multiboard - Set the text for MB item in column 2, row 1 to |cffff8c00Player|r
- Multiboard - Set the text for MB item in column 3, row 1 to |cffff8c00K|r
- Multiboard - Set the text for MB item in column 4, row 1 to |cffff8c00D|r
- Multiboard - Set the text for MB item in column 5, row 1 to |cffff8c00Title|r
- Multiboard - Set the width for MB item in column 1, row 1 to 2.00% of the total screen width
- Multiboard - Set the width for MB item in column 2, row 1 to 6.00% of the total screen width
- Multiboard - Set the width for MB item in column 3, row 1 to 2.00% of the total screen width
- Multiboard - Set the width for MB item in column 4, row 1 to 2.00% of the total screen width
- Multiboard - Set the width for MB item in column 5, row 1 to 6.00% of the total screen width
- Multiboard - Set the display style for MB item in column 1, row 1 to Show text and Hide icons
- Multiboard - Set the display style for MB item in column 2, row 1 to Show text and Hide icons
- Multiboard - Set the display style for MB item in column 3, row 1 to Show text and Hide icons
- Multiboard - Set the display style for MB item in column 4, row 1 to Show text and Hide icons
- Multiboard - Set the display style for MB item in column 5, row 1 to Show text and Hide icons
- Set PlayersOnlineGroup = (All players matching (((Matching player) slot status) Equal to Is playing))
-
For each (Integer A) from 1 to 4, do (Actions)
-
Loop - Actions
- Multiboard - Set the display style for MB item in column 1, row ((Integer A) + 1) to Hide text and Show icons
- Multiboard - Set the display style for MB item in column 2, row ((Integer A) + 1) to Show text and Hide icons
- Multiboard - Set the display style for MB item in column 3, row ((Integer A) + 1) to Show text and Hide icons
- Multiboard - Set the display style for MB item in column 4, row ((Integer A) + 1) to Show text and Hide icons
- Multiboard - Set the display style for MB item in column 5, row ((Integer A) + 1) to Show text and Hide icons
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Player[(Integer A)] is in PlayersOnlineGroup) Equal to True
-
Then - Actions
- Multiboard - Set the icon for MB item in column 1, row ((Integer A) + 1) to ReplaceableTextures\CommandButtons\BTNVillagerMan.blp
- Multiboard - Set the width for MB item in column 1, row ((Integer A) + 1) to 2.00% of the total screen width
- Multiboard - Set the text for MB item in column 2, row ((Integer A) + 1) to (PlayerColor[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
- Multiboard - Set the width for MB item in column 2, row ((Integer A) + 1) to 6.00% of the total screen width
- Multiboard - Set the text for MB item in column 3, row ((Integer A) + 1) to 0
- Multiboard - Set the width for MB item in column 3, row ((Integer A) + 1) to 2.00% of the total screen width
- Multiboard - Set the text for MB item in column 4, row ((Integer A) + 1) to 0
- Multiboard - Set the width for MB item in column 4, row ((Integer A) + 1) to 2.00% of the total screen width
- Multiboard - Set the text for MB item in column 5, row ((Integer A) + 1) to |c00CCCCCCNone|r
- Multiboard - Set the width for MB item in column 5, row ((Integer A) + 1) to 6.00% of the total screen width
- Else - Actions
-
If - Conditions
-
Loop - Actions
- Multiboard - Show MB
- Custom script: call DestroyForce ( udg_PlayersOnlineGroup )
TO those interested, I'm running this mb trigger after player writes commands that's why there is no event