Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Events

Unit - a unit dies
Conditions

Dying unit is a hero equal to true
Actions

Set killcount[Player Number of (Owner of (Killing Unit)] = killcount[Player Number of (Owner of (Killing Unit)] + 1
Events

Every 1 seconds of the game
Conditions
Actions

If killcount[1] is equal to x then do stuff else do nothing

If killcount[2] is equal to x then do stuff else do nothing

If killcount[3] is equal to x then do stuff else do nothing

If killcount[4] is equal to x then do stuff else do nothing

If killcount[5] is equal to x then do stuff else do nothing

...
Trigger

Events


Unit - A unit Dies

Conditions

Actions


Set Killcount[(Player number of (Owner of (Dying unit)))] = (Killcount[(Player number of (Owner of (Dying unit)))] + 1)


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




Killcount[(Player number of (Owner of (Dying unit)))] Greater than 10



Then - Actions




Game - Display to (All players) the text: Action



Else - Actions
EDIT - If you want a value like an integer to work for all players, you have to set the array value to (1). A newbeginner's mistake is to set the the value to (12) Because it's 12 players.
GW, arrays allocate memory as they grow.
Apparently pipe said it's in powers of two. ([0],[1],[3],[7],[15],...)
Events

Unit - a unit dies
Conditions

Dying unit is a hero equal to true
Actions

Set killcount[Player Number of (Owner of (Dying Unit)] = 0
Kill Count

Events


Unit - A unit Dies

Conditions


((Killing unit) is A Hero) Equal to True


((Dying unit) is A Hero) Equal to True

Actions


Set killcount[(Player number of (Owner of (Killing unit)))] = (killcount[(Player number of (Owner of (Killing unit)))] + 1)


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Player number of (Owner of (Killing unit))) Equal to 1



Then - Actions




Sound - Play firstblood <gen>




Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + 's hero as just made a First Blood.)



Else - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






(Player number of (Owner of (Killing unit))) Equal to 3





Then - Actions






Sound - Play Killing_Spree <gen>






Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + 's hero is on a Killing Spree.)





Else - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








(Player number of (Owner of (Killing unit))) Equal to 5







Then - Actions








Sound - Play Unstoppable <gen>








Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + 's hero is |c00ff0000UNSTOPPABLE|r.)







Else - Actions








If (All Conditions are True) then do (Then Actions) else do (Else Actions)









If - Conditions










(Player number of (Owner of (Killing unit))) Equal to 7









Then - Actions










Sound - Play HolyShit <gen>










Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + 's hero is crazy. |c00ff0000Holy Shit|r.)









Else - Actions










If (All Conditions are True) then do (Then Actions) else do (Else Actions)











If - Conditions












(Player number of (Owner of (Killing unit))) Equal to 10











Then - Actions












Sound - Play GodLike <gen>












Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + 's hero is |c00ff0000GODLIKE|r.)











Else - Actions
So what?Oh NVM, solved.
CRAP:
It always say FIRST BLOOD, with any kill counting XD
Kill Count
Events
Unit - A unit Dies
Conditions
((Killing unit) is A Hero) Equal to True
((Dying unit) is A Hero) Equal to True
Actions
Set killcount[(Player number of (Owner of (Killing unit)))] = (killcount[(Player number of (Owner of (Killing unit)))] + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player number of (Owner of (Killing unit))) Equal to 1
Then - Actions
Sound - Play firstblood <gen>
Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + 's hero as just made a First Blood.)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player number of (Owner of (Killing unit))) Equal to 3
Then - Actions
Sound - Play Killing_Spree <gen>
Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + 's hero is on a Killing Spree.)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player number of (Owner of (Killing unit))) Equal to 5
Then - Actions
Sound - Play Unstoppable <gen>
Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + 's hero is |c00ff0000UNSTOPPABLE|r.)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player number of (Owner of (Killing unit))) Equal to 7
Then - Actions
Sound - Play HolyShit <gen>
Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + 's hero is crazy. |c00ff0000Holy Shit|r.)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player number of (Owner of (Killing unit))) Equal to 10
Then - Actions
Sound - Play GodLike <gen>
Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + 's hero is |c00ff0000GODLIKE|r.)
Else - Actions
