i want you to be able to get my amount of experience for each unit you kill
as an example my trigger went like this
all players
current player kills at least 1 zergling
player 6 has suffered at least 1 death of zergling
subtract 1 death count of zergling for player 6
add 40 custom for current player
preserve trig
it works for awhile.. but after about 3 kills it starts giving player 1 all the kills
i dont know why its doing it... anyone help me out?
and i also tried the trigger under players 1-4 only as opposed to all players
ok the problem that i see with this is that you have your conditions wrong.
the second one is correct, however the first should not be "kills" it should be Kills Score" theres a difference.
The 'kills' score gives numerous points per unit, so that condition would continually fire, unless you're using kills, in which case you can't subtract, and it will continually be active.
The second condition, deaths is what's limiting your system to player 1. Since the first condition is constantly firing from the moment he gets his first kill, and since P1's triggers fire first, P1 will get all the kills after he makes one.
¤ Center location labeled 'Update Kill Score*' on Protoss Pylon* owned by Current Player at 'Anywhere*'.
¤ Create 1 Zerg Zergling* at 'Update Kill Score*' for Player 6. Apply properties*
¤ Modify death counts for Current player: Subtract 1 for Rhynadon*.
¤ Preserve trigger
does everyone need a protoss pylon* or just my score keeper
and what is player 6 in this?
Only problem with this system is that is takes up space and can get behind, depening on how fast your killing unit kills.
What you want to use is kill SCORE say that when player 1 has at least 1 kill score, give him 1 mineral and set the score back to zero, don't subtract one, since some units will give you thousands of points in the kill score for being killed.
QUOTE(Falkoner @ Jan 20 2007, 08:19 AM)
Only problem with this system is that is takes up space and can get behind, depening on how fast your killing unit kills.
What you want to use is kill SCORE say that when player 1 has at least 1 kill score, give him 1 mineral and set the score back to zero, don't subtract one, since some units will give you thousands of points in the kill score for being killed.
[right][snapback]615822[/snapback][/right]
That tends to fail when you kill lots of bad guys, or use splash units, or multiple units. Perhaps you could use a combo of perfect, and that. Use that for when he has a regular unit, and if he gets splash or multiple units, use perfect.
well for this map, there wont be much problem of killing many units at once, originally i had a trigger for each individual unit you could kill, because its limited enough to do that (most main guys will be less than 50 trigs, all the others are less than 10) id rather not do the kills to cash, because i have to have the cash being minerals which, i dont want people being credited minerals so i figure ill just stick with the individual trigs, but how would i go about making that trig?
QUOTE(Djinn.inc @ Jan 20 2007, 01:31 PM)
well for this map, there wont be much problem of killing many units at once, originally i had a trigger for each individual unit you could kill, because its limited enough to do that (most main guys will be less than 50 trigs, all the others are less than 10) id rather not do the kills to cash, because i have to have the cash being minerals which, i dont want people being credited minerals so i figure ill just stick with the individual trigs, but how would i go about making that trig?
[right][snapback]615950[/snapback][/right]
You don't HAVE to add minerals, just change the Actions to something else. Go back to my last post for the system.