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.
[04:15 am]
DarkenedFantasies -- you eat lots of beans
[03:46 am]
IskatuMesk -- how do i get gas
[11:43 pm]
Moose -- you don't
[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
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
Please log in to shout.


Members Online: City