is there a way to make it so a unit has 0 hp. I don't want the bar to disappear, i want it so it looks like "0/100". is it possible?
I think that all you have to do is set the units health to 0 on SCMD or SF...
Setting the units HP to "0" makes the unit invincible.
Really? Humph... Then, just SET the HP to 0, that works, doesnt it?
QUOTE(A_of_s_t @ Apr 17 2006, 07:12 PM)
Really? Humph... Then, just SET the HP to 0, that works, doesnt it?
[right][snapback]467618[/snapback][/right]
i tried, the unit exploded
Setting a unit's health to 0 makes crashes.
There was an extended unit that did this, I wonder If I can dig up the thread.
QUOTE(Kenoli @ Apr 17 2006, 09:20 PM)
Setting a unit's health to 0 makes crashes.
[right][snapback]467692[/snapback][/right]
not exactly... i some how set it to 0 hp without crashing... the units can attack it but its unable to do damage to it
QUOTE
not exactly... i some how set it to 0 hp without crashing... the units can attack it but its unable to do damage to it
That's something different, a frozen unit.
I ment when you set a unit's max HP to 0 in an editor.
i'm not totally sure if you guys understand my question.
current hp/total hp
0/100(or any other number, doesn't matter)
Pretty sure it still crashes.
i think i saw it in some bound...
or am i wrong ?
QUOTE(Jammed @ Apr 18 2006, 04:12 AM)
i think i saw it in some bound...
or am i wrong ?
[right][snapback]467828[/snapback][/right]
Your wrong. LOL how would I know! (Just playing)
Setting the unit's health to "0" shouldn't crash your system. I remember the first time I used "0" HP was in the production of a defence map, and I couldn't kill the units because they had infinate health. It didn't crash my system.
Setting the unit to 0 hp in Unit Settings will make it have 0/1. The only time it is invincible like this is if whatever is attacking has its HP set to 0, otherwise I have found it just dies it one hit.
I don't think there is any way to make it 0/100.
QUOTE(O)FaRTy1billion @ Apr 18 2006, 03:17 PM)
Setting the unit to 0 hp in Unit Settings will make it have 0/1. The only time it is invincible like this is if whatever is attacking has its HP set to 0, otherwise I have found it just dies it one hit.
I don't think there is any way to make it 0/100.
[right][snapback]468073[/snapback][/right]
Indeed, You can only have 0/1.
You cannot have 0/100 or 0/x, you wil still be able to attack the unit but since it has no hp it won't get any damage.
QUOTE(Demaris @ Apr 17 2006, 08:21 PM)
There was an extended unit that did this, I wonder If I can dig up the thread.
[right][snapback]467694[/snapback][/right]
Haven't they scrambled the ID's? If so it will be hard to find.
thanks guys, the 0 / 0 thing did it. another unrelated question though. how do you get zero build time, isn't it something like 65573? and i know about the <100% hp problem so don't bother warning me about that
0 build time crashes for units.
For StarEdit (Includes Xtra/FE)
QUOTE(a tutorial I wrote)
1 is lowest "inputted" number allowed (Blizzard made it so 0 is rounded to 1)
4369 is the highest non-changing number. (9999 is not high at all! It goes down to 1260. Its just the same as building 9 arbiters one at a time.)
4370 and 8739 are numbers that change to 0.
In StarForge you can put 1 for units and that will be close enough to 0.
In starforge put 0 in the small box (left) and put total health as 1 (right box; large).
thanks people, i got it working now
topic closed