For the testing i'm making this
(Player 12 (Brown) controller) Equal to Computer
and i cannot solve this problem. I cannot see team 2 and players.
This is the players setup and trigger please someone help me :banghead:
This is the map file
http://www.epicwar.com/maps/98116/
(Player 12 (Brown) controller) Equal to Computer
and i cannot solve this problem. I cannot see team 2 and players.
This is the players setup and trigger please someone help me :banghead:
This is the map file
http://www.epicwar.com/maps/98116/
Code:
Multiboard Players JFA
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Set AMultiboard_TeamName[1] = Clan Devils
Set AMultiboard_TeamName[2] = Clan Reapers
Set AMultiboard_CC_Player[0] = |cffffcc00
Set AMultiboard_CC_Player[1] = |c00ff0303
Set AMultiboard_CC_Player[2] = |c000042ff
Set AMultiboard_CC_Player[3] = |c001ce6b9
Set AMultiboard_CC_Player[4] = |c00540081
Set AMultiboard_CC_Player[5] = |c00fffc01
Set AMultiboard_CC_Player[6] = |c00feba0e
Set AMultiboard_CC_Player[7] = |c0020c000
Set AMultiboard_CC_Player[8] = |c00e55bb0
Set AMultiboard_CC_Player[9] = |c00959697
Set AMultiboard_CC_Player[10] = |c007EBFF1
Set AMultiboard_CC_Player[11] = |c00106246
Set AMultiboard_CC_Player[12] = |c004E2A04
Set AMultiboard_CC_Ending = |r
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 2 (Blue) controller) Equal to User
(Player 2 (Blue) slot status) Equal to Is playing
Then - Actions
Set AMultiboard_Playing[2] = True
Player Group - Add (Picked player) to AMultiboard_Team[1]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 3 (Teal) controller) Equal to Computer
(Player 3 (Teal) slot status) Equal to Is playing
Then - Actions
Set AMultiboard_Playing[3] = True
Player Group - Add (Picked player) to AMultiboard_Team[1]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 4 (Purple) controller) Equal to Computer
(Player 4 (Purple) slot status) Equal to Is playing
Then - Actions
Set AMultiboard_Playing[4] = True
Player Group - Add (Picked player) to AMultiboard_Team[1]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 5 (Yellow) controller) Equal to Computer
(Player 5 (Yellow) slot status) Equal to Is playing
Then - Actions
Set AMultiboard_Playing[5] = True
Player Group - Add (Picked player) to AMultiboard_Team[1]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 6 (Orange) controller) Equal to Computer
(Player 6 (Orange) slot status) Equal to Is playing
Then - Actions
Set AMultiboard_Playing[6] = True
Player Group - Add (Picked player) to AMultiboard_Team[1]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 8 (Pink) controller) Equal to Computer
(Player 8 (Pink) slot status) Equal to Is playing
Then - Actions
Set AMultiboard_Playing[8] = True
Player Group - Add (Picked player) to AMultiboard_Team[2]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 9 (Gray) controller) Equal to Computer
(Player 9 (Gray) slot status) Equal to Is playing
Then - Actions
Set AMultiboard_Playing[9] = True
Player Group - Add (Picked player) to AMultiboard_Team[2]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 10 (Light Blue) controller) Equal to Computer
(Player 10 (Light Blue) slot status) Equal to Is playing
Then - Actions
Set AMultiboard_Playing[10] = True
Player Group - Add (Picked player) to AMultiboard_Team[2]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 11 (Dark Green) controller) Equal to Computer
(Player 11 (Dark Green) slot status) Equal to Is playing
Then - Actions
Set AMultiboard_Playing[11] = True
Player Group - Add (Picked player) to AMultiboard_Team[2]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 12 (Brown) controller) Equal to Computer
(Player 12 (Brown) slot status) Equal to Is playing
Then - Actions
Set AMultiboard_Playing[12] = True
Player Group - Add (Picked player) to AMultiboard_Team[2]
Else - Actions
Set AMultiboard_TeamCount[1] = (Number of players in AMultiboard_Team[1])
Set AMultiboard_TeamCount[2] = (Number of players in AMultiboard_Team[2])
Set AMultiboard_TeamCount[0] = (AMultiboard_TeamCount[1] + AMultiboard_TeamCount[2])
Code:
Multiboard Create JFA
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Set AMultiboard_Rows = (8 + AMultiboard_TeamCount[0])
-------- PLAYER NAME / KILL / DEATH --------
Multiboard - Create a multiboard with 3 columns and AMultiboard_Rows rows, titled JFA Multiboard
Set AMultiboard_Multiboard = (Last created multiboard)
Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to ((AMultiboard_CC_Player[0] + Kills) + AMultiboard_CC_Ending)
Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to ((AMultiboard_CC_Player[0] + Deaths) + AMultiboard_CC_Ending)
Set AMultiboard_CurrentRow = 2
Set AMultiboard_RowofTeam[1] = AMultiboard_CurrentRow
-------- TAKIM 1 --------
Multiboard - Set the text for (Last created multiboard) item in column 1, row AMultiboard_CurrentRow to ((AMultiboard_CC_Player[1] + AMultiboard_TeamName[1]) + AMultiboard_CC_Ending)
Multiboard - Set the text for (Last created multiboard) item in column 2, row AMultiboard_CurrentRow to 0
Multiboard - Set the text for (Last created multiboard) item in column 3, row AMultiboard_CurrentRow to 0
For each (Integer AMultiboard_Variable) from 2 to 6, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AMultiboard_Playing[AMultiboard_Variable] Equal to True
Then - Actions
Set AMultiboard_CurrentRow = (AMultiboard_CurrentRow + 1)
Set AMultiboard_RowofPlayer[AMultiboard_Variable] = AMultiboard_CurrentRow
Multiboard - Set the text for (Last created multiboard) item in column 1, row AMultiboard_CurrentRow to (AMultiboard_CC_Player[AMultiboard_Variable] + ((Name of (Player(AMultiboard_Variable))) + AMultiboard_CC_Ending))
Multiboard - Set the text for (Last created multiboard) item in column 2, row AMultiboard_CurrentRow to 0
Multiboard - Set the text for (Last created multiboard) item in column 3, row AMultiboard_CurrentRow to 0
Else - Actions
-------- TAKIM 2 --------
Set AMultiboard_CurrentRow = (AMultiboard_CurrentRow + 2)
Multiboard - Set the text for (Last created multiboard) item in column 1, row AMultiboard_CurrentRow to ((AMultiboard_CC_Player[7] + AMultiboard_TeamName[2]) + AMultiboard_CC_Ending)
Multiboard - Set the text for (Last created multiboard) item in column 2, row AMultiboard_CurrentRow to 0
Multiboard - Set the text for (Last created multiboard) item in column 3, row AMultiboard_CurrentRow to 0
Set AMultiboard_RowofTeam[2] = AMultiboard_CurrentRow
For each (Integer AMultiboard_Variable) from 8 to 12, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AMultiboard_Playing[AMultiboard_Variable] Equal to True
Then - Actions
Set AMultiboard_CurrentRow = (AMultiboard_CurrentRow + 1)
Set AMultiboard_RowofPlayer[AMultiboard_Variable] = AMultiboard_CurrentRow
Multiboard - Set the text for (Last created multiboard) item in column 1, row AMultiboard_CurrentRow to (AMultiboard_CC_Player[AMultiboard_Variable] + ((Name of (Player(AMultiboard_Variable))) + AMultiboard_CC_Ending))
Multiboard - Set the text for (Last created multiboard) item in column 2, row AMultiboard_CurrentRow to 0
Multiboard - Set the text for (Last created multiboard) item in column 3, row AMultiboard_CurrentRow to 0
Else - Actions
Set AMultiboard_CurrentRow = (AMultiboard_CurrentRow + 2)
Multiboard - Set the text for (Last created multiboard) item in column 1, row AMultiboard_CurrentRow to Time Elapsed:
Set AMultiboard_RowowTime = AMultiboard_CurrentRow
For each (Integer A) from 1 to AMultiboard_CurrentRow, do (Actions)
Loop - Actions
Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 12.00% of the total screen width
For each (Integer A) from 1 to AMultiboard_Rows, do (Actions)
Loop - Actions
Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 4.00% of the total screen width
For each (Integer A) from 1 to AMultiboard_Rows, do (Actions)
Loop - Actions
Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 4.00% of the total screen width
Multiboard - Minimize (Last created multiboard)
Multiboard - Show (Last created multiboard)
Multiboard - Set the display style for (Last created multiboard) item in column 0, row 0 to Show text and Hide icons
Code:
Multiboard Refresh JFA
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
For each (Integer A) from 2 to 12, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AMultiboard_Playing[(Integer A)] Equal to True
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row AMultiboard_RowofPlayer[(Integer A)] to (String(AMultiboard_Kills[(Integer A)]))
Multiboard - Set the text for (Last created multiboard) item in column 3, row AMultiboard_RowofPlayer[(Integer A)] to (String(AMultiboard_Deaths[(Integer A)]))
Else - Actions
For each (Integer A) from 1 to 2, do (Actions)
Loop - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row AMultiboard_RowofTeam[(Integer A)] to (String(AMultiboard_TeamKills[(Integer A)]))
Multiboard - Set the text for (Last created multiboard) item in column 3, row AMultiboard_RowofTeam[(Integer A)] to (String(AMultiboard_TeamDeaths[(Integer A)]))
Set AMultiboard_Time[2] = (AMultiboard_Time[2] + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AMultiboard_Time[2] Equal to 60
Then - Actions
Set AMultiboard_Time[1] = (AMultiboard_Time[1] + 1)
Set AMultiboard_Time[2] = 0
Else - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row AMultiboard_RowowTime to (((String(AMultiboard_Time[1])) + :) + (String(AMultiboard_Time[2])))
Code:
Multiboard Kills JFA
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
((Owner of (Killing unit)) is an enemy of (Owner of (Dying unit))) Equal to True
(Unit-type of (Dying unit)) Not equal to Training Dummy
(Player number of (Owner of (Killing unit))) Greater than 0
(Player number of (Owner of (Killing unit))) Less than or equal to 12
Actions
Set AMultiboard_Deaths[(Player number of (Owner of (Dying unit)))] = (AMultiboard_Deaths[(Player number of (Owner of (Dying unit)))] + 1)
Set AMultiboard_Kills[(Player number of (Owner of (Killing unit)))] = (AMultiboard_Kills[(Player number of (Owner of (Killing unit)))] + 1)
Set AMultiboard_TeamKills[1] = ((AMultiboard_Kills[2] + AMultiboard_Kills[3]) + ((AMultiboard_Kills[4] + AMultiboard_Kills[5]) + AMultiboard_Kills[6]))
Set AMultiboard_TeamKills[2] = ((AMultiboard_Kills[8] + AMultiboard_Kills[9]) + ((AMultiboard_Kills[10] + AMultiboard_Kills[11]) + AMultiboard_Kills[12]))
Set AMultiboard_TeamDeaths[1] = ((AMultiboard_Deaths[2] + AMultiboard_Deaths[3]) + (AMultiboard_Deaths[4] + (AMultiboard_Deaths[5] + AMultiboard_Deaths[6])))
Set AMultiboard_TeamDeaths[2] = ((AMultiboard_Deaths[8] + AMultiboard_Deaths[9]) + (AMultiboard_Deaths[10] + (AMultiboard_Deaths[11] + AMultiboard_Deaths[12])))