Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Did this in 2 minutes, it works. And supersheep, this is a better approach IMO. XD
If you wanna add a certain type of unit or force, then add it to the trigger conditions
CheckKills
Events
Unit - A unit Dies
Conditions
Actions
Set Killcount = (Killcount + 1)
Countdown Timer - Start kill_timer as a One-shot timer that will expire in 3.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Killcount Equal to 2
Then - Actions
Game - Display to (All players) the text: Double kill!
Set Killcount = 0
Else - Actions
KillTimer
Events
Time - kill_timer expires
Conditions
Actions
Set Killcount = (Killcount - 1)
Here's if both times the unit killed was owned by a certain player
CheckKills
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
last_killed_unit_player Equal to (Owner of (Triggering unit))
Then - Actions
Set Killcount = (Killcount + 1)
Countdown Timer - Start kill_timer as a One-shot timer that will expire in 3.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Killcount Equal to 2
Then - Actions
Game - Display to (All players) the text: Double kill!
Set Killcount = 0
Else - Actions
Else - Actions
Set last_killed_unit_player = (Owner of (Triggering unit))
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.