• 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.

Individual kill tracking and ability gaining.

Status
Not open for further replies.
Level 1
Joined
Nov 5, 2010
Messages
3
Hello, I need a trigger that can track the kills of all units individually and give them powers at certain amounts of kills. For example if a swordsman get 4 kills he would gain a 5% dodge chance, then at 10 kills it would become a 10% dodge.

Any help will be greatly appreciated,
Chopper
 
Level 8
Joined
Mar 22, 2008
Messages
422
I am not sure if it is the best way but you can induvidualy store every unit then set them there own intiger and when ever they get a kill set it +1 and when it gets to the numbers you want make it so they get given the skill associated with it.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
I created a test map showing how these kill values can be tracked using Hashtable alone

For the first 5 kills, the Footman will gain the Evasion ability which will evade 5% of incoming physical attack

For the next 5 kills, the ability will be leveled up automatically which will grant him 10% evasion
 

Attachments

  • Simple Kill Track System.w3x
    15.4 KB · Views: 58
Level 1
Joined
Nov 5, 2010
Messages
3
Thank you for the quick reply, but I have a new request. Do you know where I can get a newer version of the editor, mine wont open the map and claims that trigger functions in it do not exist.

Thanks,
Chopper
 
Level 1
Joined
Nov 5, 2010
Messages
3
Ok, I have updated and tested it. That's what I desire for the most part, but a few things I need differently. First I don't want it to announce the kill count, second I need the count to continue to at least level 50 so that I can have higher levels of the ability at different kill amounts. Also if when it says kills reset it means that it resets the count and keeps going then I would like to know if this means it will reactivate and give the lower level powers again.

Thank You,
Chopper
 
Status
Not open for further replies.
Top