Code:
Player Kills Update
Events
Unit - A unit Dies
Conditions
((Killing unit) belongs to an enemy of Player 1 (Red)) Equal to True
((Owner of (Killing unit)) controller) Equal to User
Actions
Set Kill_Count[(Player number of (Owner of (Killing unit)))] = (Kill_Count[(Player number of (Owner of (Killing unit)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Spots[(Player number of (Owner of (Killing unit)))] to (String(Kill_Count[(Player number of (Owner of (Killing unit)))]))
A map editor expert gave me this
Code:
Player Deaths Update
Events
Unit - A unit Dies
Conditions
((Killing unit) belongs to an enemy of Player 1 (Red)) Equal to True
((Owner of (Killing unit)) controller) Equal to User
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 Multiboard_Spots[(Player number of (Owner of (Dying unit)))] to (String(Death_Count[(Player number of (Owner of (Dying unit)))]))
Quote:
(((Dying unit) is A ground unit) Equal to True) and (((Owner of (Dying
unit)) equal to an Enemy of Owner Of Killing Unit)) (Owner of Dying unit controller) Equal to User)
Should i replace with this? If i want a unit denied do nothing while your unit gets killed gets a death +1
And another request if this is the script, can you do me a favour to help me add this to a gui:trigger like what you did to your other triggers, putting it into a new map.