Hello, how do i make this trigger work for only the hero/player itself. I have plenty of dummies and summoned units that i use in my map, which will make this count as a kill/death.
(Owner of (Killing unit)) Not equal to Player 12 (Brown)"
Note: It also does not recognize which player gets the kill.
-
Kill Update
-
Events
- Unit - A unit Dies
- Conditions
-
Actions
- Set VariableSet Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
- Multiboard - Set the text for (Last created multiboard) item in column 2, row Multiboard_Spots[(Player number of (Owner of (Killing unit)))] to (|cff00FF00 + ((String(Kills[(Player number of (Owner of (Killing unit)))])) + |r))
-
Events
-
Death Update
-
Events
- Unit - A unit Dies
- Conditions
-
Actions
- Set VariableSet Deaths[(Player number of (Owner of (Dying unit)))] = (Deaths[(Player number of (Owner of (Dying unit)))] + 1)
- Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Spots[(Player number of (Owner of (Dying unit)))] to (|cffFF0000 + ((String(Deaths[(Player number of (Owner of (Dying unit)))])) + |r))
-
Events
(Owner of (Killing unit)) Not equal to Player 12 (Brown)"
Note: It also does not recognize which player gets the kill.
Last edited: