inevit4ble
Well-Known Member
- Reaction score
- 38
Hi Every1,
I've created a multi board (for Techies Wars) which is fine in itself but I now am trying to separate the teams on the board.
The Host can select Mode 1 / 2 (Team / FFA)
For FFA the board is fine because there's no teams to seperate
But
For Teams I can manage to work out how to add "Team1 / Team 2" into the board and still keep the board in one piece. (I've gotten some really REALLY weird outcomes.
Here is the base trigger:
I've tried to set Row text to "Team1" then If/Then/Else checking player number between 1-5 and "Team2" 6-10.
But I'm getting lost in this thing.
Could someone offer us advice?
Thanks in advance!
PS: TH.net members are AWESOME
Happy Mapping GUYS!
I've created a multi board (for Techies Wars) which is fine in itself but I now am trying to separate the teams on the board.
The Host can select Mode 1 / 2 (Team / FFA)
For FFA the board is fine because there's no teams to seperate
But
For Teams I can manage to work out how to add "Team1 / Team 2" into the board and still keep the board in one piece. (I've gotten some really REALLY weird outcomes.
Here is the base trigger:
Trigger:
- MultiBoardCreate
- Events
- Time - Elapsed game time is 5.00 seconds
- Conditions
- Actions
- Set MyPlayerGroup = (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing)))
- Set MBPlayerCount = (Number of players in MyPlayerGroup)
- Multiboard - Create a multiboard with 6 columns and (MBPlayerCount + 2) rows, titled |cffff0080Tec|r|cff...
- Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to |cffff8000Name|r
- Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to |cffff0000Kill|r
- Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to |cff8000ffDeath|r
- Multiboard - Set the text for (Last created multiboard) item in column 5, row 1 to |cff00ff00Suicide|r
- Multiboard - Set the text for (Last created multiboard) item in column 6, row 1 to |cff800080Deny|r
- For each (Integer A) from 1 to (MBPlayerCount + 2), do (Actions)
- Loop - Actions
- 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 (Integer A) to Hide text and Show 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 display style for (Last created multiboard) item in column 3, row (Integer A) to Show text and Hide icons
- Multiboard - Set the display style for (Last created multiboard) item in column 4, row (Integer A) to Show text and Hide icons
- Multiboard - Set the display style for (Last created multiboard) item in column 5, row (Integer A) to Show text and Hide icons
- Multiboard - Set the display style for (Last created multiboard) item in column 6, row (Integer A) to Show text and Hide icons
- Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 2.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 8.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 3.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 4, row (Integer A) to 3.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 5, row (Integer A) to 3.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 6, row (Integer A) to 3.00% of the total screen width
- Loop - Actions
- Set MBList = 2
- Player Group - Pick every player in MyPlayerGroup and do (Actions)
- Loop - Actions
- Set MBSlots[(Player number of (Picked player))] = MBList
- Multiboard - Set the icon for (Last created multiboard) item in column 1, row MBList to ReplaceableTextures\CommandButtons\BTNGoblinSapper.blp
- Multiboard - Set the text for (Last created multiboard) item in column 2, row MBList to (MBPlayerColours[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
- Multiboard - Set the text for (Last created multiboard) item in column 3, row MBList to (String(PlayerKillsTotal[(Player number of (Picked player))]))
- Multiboard - Set the text for (Last created multiboard) item in column 4, row MBList to (String(PlayerDeathTotal[(Player number of (Picked player))]))
- Multiboard - Set the text for (Last created multiboard) item in column 5, row MBList to (String(PlayerSuicides[(Player number of (Picked player))]))
- Multiboard - Set the text for (Last created multiboard) item in column 6, row MBList to (String(PlayerDenies[(Player number of (Picked player))]))
- Set MBList = (MBList + 1)
- Loop - Actions
- Multiboard - Set the display style for (Last created multiboard) item in column 1, row (MBPlayerCount + 2) to Hide text and Hide icons
- Multiboard - Set the width for (Last created multiboard) item in column 2, row (MBPlayerCount + 2) to 8.00% of the total screen width
- Multiboard - Set the width for (Last created multiboard) item in column 3, row (MBPlayerCount + 2) to 3.00% of the total screen width
- Multiboard - Set the text for (Last created multiboard) item in column 2, row (MBPlayerCount + 2) to WIN TOTAL:
- Multiboard - Set the color for (Last created multiboard) item in column 2, row (MBPlayerCount + 2) to (0.00%, 80.00%, 20.00%) with 0.00% transparency
- Multiboard - Set the text for (Last created multiboard) item in column 3, row (MBPlayerCount + 2) to (String(Win))
- Multiboard - Set the color for (Last created multiboard) item in column 3, row (MBPlayerCount + 2) to (0.00%, 80.00%, 20.00%) with 0.00% transparency
- Set MBoard = (Last created multiboard)
- Multiboard - Show MBoard
- Custom script: call DestroyForce(udg_MyPlayerGroup)
- Events
I've tried to set Row text to "Team1" then If/Then/Else checking player number between 1-5 and "Team2" 6-10.
But I'm getting lost in this thing.
Could someone offer us advice?
Thanks in advance!
PS: TH.net members are AWESOME
Happy Mapping GUYS!