I want to use the hp detection conditions for a set of triggers in my map. In Uberation it asks for a unit number when adding the trigger. But my question is -
How do you find the unit numbers for a specific unit?
Well, I found this once when I was looking through things randomly, but in outdated programs SCMtoolkit lists the units in that order (at least I'm pretty sure it does, I haven't really tested a lot with it and it might have just been a coincidence).
Oh, and don't get unit number mixed up with what type of unit it is, since it's the order the units were placed in.
Though I'm sure SCMDraft2 can also do this, you can open up a unit's properties in Starforge (click and hit Enter) to find its unit number, which is under "Unit Type" (left of the X-coordinates box).
No, Unit type will not show the unit number, the unit number is the order in which the unit was placed. Oh, and also I tested with SCM toolkit and it does work to find it.
Where do i find SCM toolkit? It's not in the DLDB.
Thanks for the help guys.
Nevermind i found it.

SCTrigger also lists the unit numbers, in quite an orderly fashion; I would suggest checking that out.
SCMToolkit is hard to set up, because you need to create a copy of your starcraft folder and set it to patch 1.07 or something. Atleast that's what I had to do to make it work

EDIT: Here's the link.
http://www.staredit.net/index.php?download=880The rabbit hole leads deeper.

I'm getting a bit confused here.
Unit numbers are different each game because the units are created in different orders?
OR
Unit numbers are the same for every game of Starcraft because each unit has a hardcoded number?
If they are created in different orders, yes they will have different unit numbers. Pre-placed units should always be the same unit number though.
Basically the unit number is the order in which units were placed on the map, so the first unit placed in the editor is 1, etc (I think, it might start elsewhere) So yes, unit numbers change every game, EXCEPT for in the case of preplaced units.
Oh shoot, I read your question wrong. My bad.
Unit Number has two associations, which way they were placed and what unit they are. SCTrigger shows the number for each unit..
Unfortunately, the Unit Type that fredz is talking about is the same thing; what unit that is, according to the number, instead of the order it was placed.
SCMToolkit is the only program I know of that actually displays the unit number in the order they were placed.. but this program is notorious for being extremely hard to set up, so I am sure this is another way.
Would it be easier if i just manually counted?
Someone should really complile every map making program into one UBER(ation) program of doom.
It's called
ÜbEr@tion (with other funky letterings that i don't know on alt functions)
Let me explain over all this rabble. There are two "unit numbers", both in the Glossary.
UnitID is the hardcoded number for a specific unit type. All Marines have a UnitID of 0, for instance. A full list can be found many places, I'll show it on the MemCalc frontpage http://homework.f2o.org/memcalc.py
LocalID is a number unique to each unit on a given map. (unit including buildings, powerups, and such). The first unit placed un a map has a LocalID of 0, the next has a LocalID of 1, and so forth. LocalIDs go up to 1699, the max number of units on a map (counting 0). I'm not sure how they are number as far as filling in gaps for units that die, but as far as mapping goes, the only way you're going to be able to tell a unit's LocalID is if it's preplaced.
Uber@tion is looking for LocalID.