HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Kill Counter

07-02-2006, 01:22 PM#1
Aranor
Hey guys i was wondering if its possible to make WC3 keep track of the number of kills for each unit?

Just like in starcraft where it displays the kills in the status window with the health stuff.
07-02-2006, 01:28 PM#2
Jacek
It depends how do you want to show the kills... you can't make kills show on unit UI where damage and stuff is... eventually you could make some stackable item or use one of hero attributes as kills, you could even use mana if you don't have magic abilities...easiest way to track is to set custom value of unit... it would go something like:

Trigger:
Collapse Events
A unit dies
Conditions
Collapse Actions
Set custom value of (Killing unit) to (Custom value of (Killing unit) + 1)

after that should go updating the kills, maybe you'll go with floating text... I have no idea. as you may have guessed, to get kills of unit you use Custom value of (unit)...
07-02-2006, 01:32 PM#3
Aranor
Thanks Jacek.
07-02-2006, 01:35 PM#4
Jacek
No problem Aranor. (w00t)