• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Scoreboard trigger

Status
Not open for further replies.
Level 7
Joined
Oct 6, 2006
Messages
293
I got my scoreboard set up to recognize kills but I dont how to make a trigger start when a certain amount of kills is on my scoreboard like, when Kills is equal to 20 do action or start trigger, something like that. Any help?
 
Level 16
Joined
Oct 30, 2004
Messages
1,277
In the trigger where you increase your kills variable have if/then/else right after it, like:

events - unit dies
conditions - owner of killing unit equal to player1
actions -
set variable killsp1 = (killsp1 + 1)
if
killsp1 equal to 20
then
do something
else
do nothing
 
Status
Not open for further replies.
Top