offdahizzle said:
can any1 pls make a kiling spree,dominating,godlike trigger like da 1 on DOTA also da double and triple kill pls thank u
I would make it like this;
First make a Integer varibale named "Kills" with array 10 *Change it to the number of players in you map*
Triggers;
Events;
Unit - a units dies
Conditions;
((Dying unit) is A Hero) Equal to true
((Killing unit) is A Hero) Equal to true
Actions;
Set Kills[(Player number of (Owner of (Dying unit)))] = 0
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions;
Kills[(Player number of (Owner of (Killing unit)))] Less than or equal to 10 *Change this to the maximum limit of your sounds*
Then - Actions;
Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
Else - Actions;
Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 0)
-----------------------------------------------------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions;
Kills[(Player number of (Owner of (Killing unit)))] Equal to 3
Then - Actions;
Sound - Play KillingSpree
Else - Actions;
Do Nohting
-----------------------------------------------------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions;
Kills[(Player number of (Owner of (Killing unit)))] Equal to 4
Then - Actions;
Sound - Play Dominating
Else - Actions;
Do Nohting
-----------------------------------------------------
Just copy it and change the number:
Kills[(Player number of (Owner of (Killing unit)))] Equal to ""4""
And the sound:
Sound - Play ""Dominating""
-----------------------------------------------------
Still cant figure it out?
just give me a message then i can give you a test map
Sorry for my bad english
.
-Kire