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.
[07:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
Please log in to shout.


Members Online: Moose, anoeth47