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!
Im not sure what the trigger is to end a game after so many kills like on a hero arena can some one help me with that trigger it would be gladly aprated thnx all who post
this is just an e.g. for one player. if you want it for multiple players, make the variable into an array and asign an array integer for each player as so.
Count Kills
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Set killcounter = (killcounter + 1)
that will count how many kills you receive
Win with kills
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
(Owner of (Killing unit)) Equal to Player 1 (Red)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
killcounter Equal to "10"
Then - Actions
Game - Victory (Owner of (Killing unit)) (Show dialogs, Show scores)
Else - Actions
and that will check if the player unit has an amount of kills and win for player. you can change the number of kills you want. the number in quotes
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.