• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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