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.
[2026-8-06. : 2:41 am]
Oh_Man -- i used to play TF2 competitive in that clan, and also was PR manager (ie: i wrote all the website posts)
[2026-8-06. : 2:41 am]
Oh_Man -- another fun fact iaguz actually joined the clan i was part of - Frenetic Array
[2026-8-06. : 2:40 am]
Symmetry -- Human memory is a fragile, fallible thing
[2026-8-06. : 2:39 am]
Oh_Man -- i realised all his shit was halluc and i wiped out his measly army of fake hallucs and he called GG - yeah thts wat actually happened damn false memory strikes again
[2026-8-06. : 2:38 am]
Oh_Man -- i was zerg, the toss guy did a bunch of hallucinates, and i was like, welp, i guess i'm dead, but i have that mindset of never giving up, so attacked him anyway, then tht was wen
[2026-8-06. : 2:38 am]
Oh_Man -- coz i was actually a zerg main, so wat ACTUALLY happened was a complete reverse of this
[2026-8-06. : 2:37 am]
Oh_Man -- i found an old comment of mine i actually think the idra thing over-ride my own memory
[2026-8-06. : 2:22 am]
Symmetry -- was it idra
[2026-8-06. : 1:52 am]
NudeRaider -- Oh_Man
Oh_Man shouted: and i went on to win the tournament, and a pair of steelseries headphones. i even reember how i won the final match - hallucinated a fck-tonne of units and my opponent thought i had way more than he did and GGed
classic
[2026-8-05. : 2:56 pm]
Oh_Man -- long story short - patience is a virtue!
Please log in to shout.


Members Online: NudeRaider