Event: A unit dies
COndition: Killing unit is equal to (your hero)
Set custom value of (killing unit) to (custom value of killing unit + 1)
A unit dies
Dying unit is equal to (Your hero)
set Dying units custom value to zero
Killing Spree
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Dying unit) is A Hero) Equal to True
Then - Actions
Unit - Set the custom value of (Dying unit) to 0
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Killing unit) is A Hero) Equal to True
Then - Actions
Unit - Set the custom value of (Killing unit) to ((Custom value of (Killing unit)) + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of (Killing unit)) Equal to 3
Then - Actions
Sound - Play Killingspree <gen>
Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( the + ((Name of (Killing unit)) + is on a killing spree!)))
Else - Actions
Else - Actions
Else - Actions
this is kinda what he meant i think
Code:Killing Spree Events Unit - A unit Dies Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions ((Dying unit) is A Hero) Equal to True Then - Actions Unit - Set the custom value of (Dying unit) to 0 If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions ((Killing unit) is A Hero) Equal to True Then - Actions Unit - Set the custom value of (Killing unit) to ((Custom value of (Killing unit)) + 1) If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Custom value of (Killing unit)) Equal to 3 Then - Actions Sound - Play Killingspree <gen> Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( the + ((Name of (Killing unit)) + is on a killing spree!))) Else - Actions Else - Actions Else - Actions
does for me
If - Conditions
(Custom value of (Killing unit)) Equal to 3
Killing Spree
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Dying unit) is A Hero) Equal to True
Then - Actions
Unit - Set the custom value of (Dying unit) to 0
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Killing unit) is A Hero) Equal to True
Then - Actions
Unit - Set the custom value of (Killing unit) to ((Custom value of (Killing unit)) + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of (Killing unit)) Equal to 3
Then - Actions
Sound - Play Killingspree <gen>
Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( the + ((Name of (Killing unit)) + is on a killing spree!)))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of (Killing unit)) Equal to 4
Then - Actions
(your stuff here)
Else - Actions
Else - Actions
Else - Actions
then you'd do
Code:Killing Spree Events Unit - A unit Dies Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions ((Dying unit) is A Hero) Equal to True Then - Actions Unit - Set the custom value of (Dying unit) to 0 If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions ((Killing unit) is A Hero) Equal to True Then - Actions Unit - Set the custom value of (Killing unit) to ((Custom value of (Killing unit)) + 1) If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Custom value of (Killing unit)) Equal to 3 Then - Actions Sound - Play Killingspree <gen> Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( the + ((Name of (Killing unit)) + is on a killing spree!))) Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Custom value of (Killing unit)) Equal to 4 Then - Actions (your stuff here) Else - Actions Else - Actions Else - Actions
and you could put in infinite more for each kill