Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Kills and Razings score problem
Kills and Razings score problem
Dec 25 2008, 12:36 am
By: mitchellsalad  

Dec 25 2008, 12:36 am mitchellsalad Post #1



-----
CONDITIONS
Current Player kills and razings score is at least 500.
ACTIONS
Modify score for Current Player: Subtract 500 kills and razings.
Modify resources for Current Player: Add 50 ore.
Display for Current Player: +50 minerals!
Preserve trigger.
-----

Is there any reason why only 250 score is subtracted upon killing 500 points worth of units? And if I set it to 600, it would only subtract 300, etc.



None.

Dec 25 2008, 12:40 am Morphling Post #2



I'm just guessing, but it subtracts both kills and razings total. So 250 of each. Just double the subtraction. Again i'm just guessing.



None.

Dec 25 2008, 1:28 am NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Kills and Razings Score does not exist as a seperate score. SC just adds the Kills Score and the Razings Score if you're working with it. So if you subtract Kills and Razings it will subtract half of the value from each scores, as Morphling correctly guessed.
When your Razings Score was already 0 then it won't go negative, so only the subtraction of 250 Kills Score will be in effect.

What you have to do is to convert Razings Score into Kills Score*, and only subtract Kills Score.

*Make a seperate trigger(s) like that:
If Current Player has at least 100 Razings Score,
Subtract 100 Razings Score for C.P.
Add 100 Kills Score for C.P.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
[2026-9-25. : 2:22 pm]
Oh_Man -- https://youtu.be/Lfo4C0xzU04
[2026-9-25. : 12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[2026-9-24. : 11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[2026-9-24. : 10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[2026-9-24. : 8:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
Please log in to shout.


Members Online: Zycorax, Oh_Man