• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Kill Score Trigger

Status
Not open for further replies.
Level 3
Joined
Jan 19, 2019
Messages
29
Hey I currently have a map I've been working on for over a year. One of the running things in the game is a Kill counter telling you how many units/heroes you've killed total. I would like a victory condition based on Kill total, Is their a way to script this trigger? If so how? I have been playing around in triggers for awhile and cant quite figure out a direction to go with this and wasn't able to locate any guides so any help would be greatly appreciated.
 
You can use the "value of integer variable" event to track when your kill counters get above a certain threshold, and then run a trigger that does victory from there. It might not work for array variables so if that's the case you can just check all player scores every X seconds and then decide on victory actions if any are above a certain amount.
 
Status
Not open for further replies.
Back
Top