QUOTE(Kenoli @ Aug 17 2006, 11:45 PM)
I don't see how. When a unit dies by kill trigger it dosen't count toward the deaths of that unit.
I forgot about that, thanks
QUOTE
Also, give the zerglings 0 attack, so it would take two 2 hits for someone to kill another zergling, which wouldn't be possible if you're constantly resetting it to 1.
[right][snapback]546579[/snapback][/right]
I've tried that, but the ling will still die, it just takes a bit longer (about 15 hits)
QUOTE(Zergling[SK)
,Aug 17 2006, 11:56 PM]The kills in actions are different then the kills in conditions. The kills in condition are one for every unit that you kill, whereas the kills in actions are consisted of points. So say you were to kill one zergling, instead of subtracting that one kill it would subtract the points of that kill which in this case would be 50. So, this is what I do:
Trigger |
Description: |
Kill |
|
Players: |
¤ whoever |
Conditions: |
¤ player X kill score is atleast 50.
|
¤ player Y deaths for zergling is atleast 1 |
Actions: |
¤ custom score for player X subtracted by 1
|
¤ kill score for player X subtracted by 50.
|
¤ custom score for player Y added by 1
|
¤ deaths for zergling for player Y set to 0
|
¤ preserve trigger |
That is what I use for detectings kills/deaths. That way you can make it for mulitple units and use the same trigger, just chance the kill score in conditions, and the deaths for whatever unit. And, instead of setting the kills points to 0, just subtract 50, that way if they kill more than one zergling it will keep adding points instead of just adding 1, for what may be 3 kills. Hope that helps.
[right][snapback]546590[/snapback][/right]
Thanks, didn't think of that
QUOTE(urmom @ Aug 17 2006, 11:58 PM)
Doesn't killing a teammates zergling still give you kill points? You could just use "Current Players kill score is at least 50" in the conditions and then subtract 50 kill score in the actions.
[right][snapback]546593[/snapback][/right]
I wanted to do that, but I posted 1 trigger here that would give you an idea of how I was doing it.
Thanks for everyone's help
(thread can be locked now)