finally made the damn thing,,,,to me forever too
so im starting on the kills and death updates, i got them good for each player, but i also want them to do totals for team
so basically what ive been using is this
that works fine for each player individually but when trying to do totals for each team it is not displaying at all for some reason when using this in the same trigger as above(same event and condition)
any idea why?
btw this is the whole trigger if you need to see
so im starting on the kills and death updates, i got them good for each player, but i also want them to do totals for team
so basically what ive been using is this
Code:
Events
Unit - A unit Dies
Conditions
(((Triggering unit) is A Hero) Equal to True) and (((Owner of (Dying unit)) controller) Equal to User)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 1 (Red)
Then - Actions
Set Death_Count[(Player number of (Owner of (Dying unit)))] = (Death_Count[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row 3 to (String(Death_Count[(Player number of (Owner of (Dying unit)))]))
Else - Actions
that works fine for each player individually but when trying to do totals for each team it is not displaying at all for some reason when using this in the same trigger as above(same event and condition)
Code:
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Dying unit) belongs to an ally of Player 1 (Red)) Equal to True
Then - Actions
Set Death_Count[11] = (Death_Count[11] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row 2 to (String(Death_Count[11]))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Dying unit) belongs to an ally of Player 6 (Orange)) Equal to True
Then - Actions
Set Death_Count[12] = (Death_Count[12] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row 8 to (String(Death_Count[12]))
Else - Actions
any idea why?
btw this is the whole trigger if you need to see
Code:
Player Deaths Update
Events
Unit - A unit Dies
Conditions
(((Triggering unit) is A Hero) Equal to True) and (((Owner of (Dying unit)) controller) Equal to User)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 1 (Red)
Then - Actions
Set Death_Count[(Player number of (Owner of (Dying unit)))] = (Death_Count[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row 3 to (String(Death_Count[(Player number of (Owner of (Dying unit)))]))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 2 (Blue)
Then - Actions
Set Death_Count[(Player number of (Owner of (Dying unit)))] = (Death_Count[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row 4 to (String(Death_Count[(Player number of (Owner of (Dying unit)))]))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 3 (Teal)
Then - Actions
Set Death_Count[(Player number of (Owner of (Dying unit)))] = (Death_Count[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row 5 to (String(Death_Count[(Player number of (Owner of (Dying unit)))]))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 4 (Purple)
Then - Actions
Set Death_Count[(Player number of (Owner of (Dying unit)))] = (Death_Count[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row 6 to (String(Death_Count[(Player number of (Owner of (Dying unit)))]))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 5 (Yellow)
Then - Actions
Set Death_Count[(Player number of (Owner of (Dying unit)))] = (Death_Count[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row 7 to (String(Death_Count[(Player number of (Owner of (Dying unit)))]))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 6 (Orange)
Then - Actions
Set Death_Count[(Player number of (Owner of (Dying unit)))] = (Death_Count[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row 9 to (String(Death_Count[(Player number of (Owner of (Dying unit)))]))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 7 (Green)
Then - Actions
Set Death_Count[(Player number of (Owner of (Dying unit)))] = (Death_Count[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row 10 to (String(Death_Count[(Player number of (Owner of (Dying unit)))]))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 8 (Pink)
Then - Actions
Set Death_Count[(Player number of (Owner of (Dying unit)))] = (Death_Count[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row 11 to (String(Death_Count[(Player number of (Owner of (Dying unit)))]))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 9 (Gray)
Then - Actions
Set Death_Count[(Player number of (Owner of (Dying unit)))] = (Death_Count[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row 12 to (String(Death_Count[(Player number of (Owner of (Dying unit)))]))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 10 (Light Blue)
Then - Actions
Set Death_Count[(Player number of (Owner of (Dying unit)))] = (Death_Count[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row 13 to (String(Death_Count[(Player number of (Owner of (Dying unit)))]))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Dying unit) belongs to an ally of Player 1 (Red)) Equal to True
Then - Actions
Set Death_Count[11] = (Death_Count[11] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row 2 to (String(Death_Count[11]))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Dying unit) belongs to an ally of Player 6 (Orange)) Equal to True
Then - Actions
Set Death_Count[12] = (Death_Count[12] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row 8 to (String(Death_Count[12]))
Else - Actions


