Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Problem with "Least Razings" score
Problem with "Least Razings" score
This topic is locked. You can no longer write replies here.
Feb 1 2009, 7:56 pm
By: Oo.DaMeiN.oO  

Feb 1 2009, 7:56 pm Oo.DaMeiN.oO Post #1



Okay, at the end of a game I have it calculate five things as follows;

Player has the most kills score of "unit"

Player has the least razings of "unit"

Player commands the most "unit"

Player has the highest custom score.

Now, it calculates and creates unit that I have specified for every trigger save the death one.

This is my exact trigger.

Code
Player 1 has suffered exactly 0 deaths of Ursadon
Player 1 has suffered exactly 1 deaths of Uraj
Current player has lowest score razings

Set deaths of 1 to Support Bay

I have made a trigger to display a text message 24/7 to tell me when I have 1 to Support Bay but it never shows up.

Help? Thanks.

*** EDIT ***

Updated on this;

I can get the least razings/commands the least of a specific unit to work when-

I add NO other condition, but even if I add an "Elapsed time is 6 seconds" it will not work :/

Glitch in SC Maps with "Least" scores/resources?

Post has been edited 2 time(s), last time on Feb 1 2009, 8:20 pm by Oo.DaMeiN.oO.



None.

Feb 1 2009, 8:29 pm Falkoner Post #2



Razings is killing buildings, so you have to kill the Engineering Bay to add one to your razings. Is this what you were thinking?

I don't think there is a glitch, I think that some other condition is causing the problem, can you post the map, or the actual triggers causing the problem?



None.

Feb 1 2009, 8:33 pm Oo.DaMeiN.oO Post #3



Well, see. Everytime the unit you control dies you get +1 to your razings.

So at the end, the calculations should calculate whoever has the least, but it doesn't.

I'll PM you the map if my way doesn't work.



None.

Feb 1 2009, 8:43 pm Falkoner Post #4



Quote
Well, see. Everytime the unit you control dies you get +1 to your razings.

No..? How are you adding one to your razings? If your unit is a building, the killer gets +1 to their razings, you get +1 to your deaths :P



None.

Feb 1 2009, 9:42 pm rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

They get much more than +1 to razings when they kill a building. When you lose a building, however, you only get +1 to deaths.

Show a leaderboard to see exactly what the razings are as you play. That way you'll know if the rest of your triggers are working right.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Feb 1 2009, 10:05 pm NudeRaider Post #6

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

Yeah, don't confuse "kills" and "kills/razings score".
The kills counter counts buildings AND units, while kills score keeps track of units and razings score is for buildings.
If you kill a building you get razings score (something in the hundrets/thousands) and your kills counter of that building goes up by 1.
You can't modify the kills counter, only the scores.
Keep in mind that kills and razings is not a seperate score but the addition of kills score and razings score.
If you modify kills and razings score it will change by half of that value for both kills score and razings score.




Feb 1 2009, 10:58 pm Decency Post #7



He's manually setting the razings +1 as a counter.



None.

Feb 2 2009, 2:44 am Oo.DaMeiN.oO Post #8



I found a way to do this without the razings.

But as FaZ- said, everytime your unit dies it adds +1 to your razings, and I also have a leaderboard showing your razings 24/7 and theres nothing wrong with that.

But I figured out that my map just glitches on the "Least" trigs

Least Resources
Least Razings
Least Units

All glitched, but meh I fixed this and it can be closed. Thanks.



None.

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: Roy