🏆 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!
you'll need to make 1 variable (Example Kill[1-13] )
and 2 triggers
1st trigger:
Event
Elapse 1 second
*****
Action:
Create multiboard
for 1 to 12
if
and all true:
player(integer A) = playing
player(integer A)= human (or not equal computer)
add player(integer A) with label "Kills:" and Value" Kills[integer A]
________________________
Trigger 2
Event
unit die
Condition:
and all true
killing unit is hero = true
killing unit player = human
Action:
set kills[player number of owner of killling units]= kills[owner of killing unit] + 1
CHANGE VALUE of (owner of killing unit) to "kills[player number of owner of killing unit]"
________________________________
Trigger 2
Event
unit die
Condition:
and all true
killing unit is hero = true
killing unit player = human
Action:
CHANGE VALUE of (owner of killing unit) to "kills[player number of owner of killing unit]"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.