You can't subtract kills or do anything with triggers to change the number on a LEADERBOARD: KILLS scoreboard. Kills score, however, is different. See the Tutorials Database on various methods of giving cash for kills (KTC methods for short.)
u can do every kills it will add custom score n when it reach 10 it subtract 10 customs n add 1 gas. The leaderboard will stay the same.
Conditions:
Current player kill score is at least 1
Actions:
Set kill score for current player to 0
Add 1 custom score for current player
Preserve Trigger
Conditions:
Current player custom score is at least 10
Actions:
Set custom score for current player to 0
Add 1 gas for current player
Preserve Trigger
If you know the max amount of units that will be killed in the game, you can use
SCTrigger then import it into your map.
Yah, sc trigger should do it. Just dont make it an interval of 1, or it might lag ure game. (i think)
That has nothing to do with lagging your game... Why would it lag the game?
SCTrigger should be burned. It is the instrument of lazy people who don't want to learn how to do triggers. Honestly, why plug your map with a thousand triggers when two should suffice?
All the joke about res/point per kill is with death count not the kill count!
example. You are P1 and com is P2! to get 1 gas per 10 kills use this triger-
player1>player2 sufers at least 10 deaths of unit>give 1 gas to player1, modify deaths count of unit for player2 subtract 10, preserve triger.
This will give you 1 gas per 10 kills. I works in all situations.
QUOTE
player1>player2 sufers at least 10 deaths of unit>give 1 gas to player1, modify deaths count of unit for player2 subtract 10, preserve triger.
that will make every1 get the same $$....
QUOTE
Conditions:
Current player kill score is at least 1
Actions:
Set kill score for current player to 0
Add 1 custom score for current player
Preserve Trigger
Conditions:
Current player custom score is at least 10
Actions:
Set custom score for current player to 0
Add 1 gas for current player
Preserve Trigger
QUOTE(Oo.Vic.oO @ Jul 7 2005, 10:16 PM)
that will make every1 get the same $$....
[right][snapback]255949[/snapback][/right]
Yea but with your triger you cant select a unit to kill
You dont need a specific unit to kill in defense maps. Ther are levels and many different units.
To elaborate on Oo.Vic.oO's idea, you could add death counts so instead of subtracting custom score you could just subtract deaths (of an unused unit) and you could keep your score:
Conditions:
Current player kill score is at least 1
Actions:
Set kill score for current player to 0
Add 1 custom score for current player
Add 1 death of "unused unit" for current player
Preserve Trigger
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Conditions:
Current player suffered at least 10 deaths of "unused unit"
Actions:
Set deaths of "unused unit" to 0
Add 1 gas for current player
Preserve Trigger
QUOTE(l)ark_13 @ Jul 7 2005, 10:57 PM)
Conditions:
Current player kill score is at least 1
Actions:
Set kill score for current player to 0
Add 1 custom score for current player
Add 1 death of "unused unit" for current player
Preserve Trigger
[right][snapback]255996[/snapback][/right]
one correction "Set kill score for current player subtract 1" because if he kill 2 units at once he will only get 1 death not 2!
No, it cant be subtract. The kills just keep going up (and same with money). I just tested it. Im not sure why (the mathamatics and SC lingo) why it does this, maybe someone else explains

QUOTE(DEAD @ Jul 7 2005, 03:02 PM)
one correction "Set kill score for current player subtract 1" because if he kill 2 units at once he will only get 1 death not 2!
One correction kill scores cannot be subtracted.
QUOTE(slayer766 @ Jul 7 2005, 11:26 PM)
One correction kill scores cannot be subtracted.
[right][snapback]256023[/snapback][/right]
Then I am a very special person because I can look!
[attachmentid=11359]
Yea this must be some kind of error. lol.

Kill scores can be subtracted. Kill counts cannot.
u dont subtract 1 kill score because each units u killed will give different kill scores.
For Example:
Killed a broodling = 25 kill scores
Killed a Kerrigan = 4000 kill scores
U'll have 2 set it 2 0
QUOTE
One correction kill scores cannot be subtracted.
Kill scores CAN be subtracted but kills cant
QUOTE(Oo.Vic.oO @ Jul 8 2005, 12:47 AM)
u dont subtract 1 kill score because each units u killed will give different kill scores.
For Example:
Killed a broodling = 25 kill scores
Killed a Kerrigan = 4000 kill scores
U'll have 2 set it 2 0
Kill scores CAN be subtracted but kills cant
[right][snapback]256088[/snapback][/right]
finally

. Now thats why you have to use death count. As I said before. It always works. Who is the king? I am

!
QUOTE(Heimdal @ Jul 7 2005, 04:07 PM)
Kill scores can be subtracted. Kill counts cannot.
[right][snapback]256045[/snapback][/right]
Yeah thats what I meant right there. lol
QUOTE(slayer766 @ Jul 8 2005, 06:26 AM)
Yeah thats what I meant right there. lol
[right][snapback]256441[/snapback][/right]
And thats why you writed "One correction kill
scores cannot be subtracted." who is the king

?
lol...u can still do this
QUOTE
Conditions:
Current player kill score is at least 1
Actions:
Set kill score for current player to 0
Add 1 custom score for current player
Preserve Trigger
Conditions:
Current player custom score is at least 10
Actions:
Set custom score for current player to 0
Add 1 gas for current player
Preserve Trigger