Staredit Network

Staredit Network -> UMS Assistance -> Kills= Hit Points?
Report, edit, etc...Posted by OriginalG. on 2004-08-29 at 21:51:59
I know that you can get money from kills but I wanted to know if you can get Hit Points and if so can someone please tell.

Also, if you can do the above can you make a specific unit get more Hit Points while getting kills.
Report, edit, etc...Posted by phatdiddy on 2004-08-29 at 21:57:11
You can't add or subtract hit points exactly. You must set them to a percent. And you can't detect a certain number either so basically you can't do what you want with the unit's hp. Well you could just give them full health everytime they kill something, I don't think I really get what you want though.
Report, edit, etc...Posted by Staredit.Net Essence on 2004-08-29 at 22:10:33
or Using kill unit:
#1

Cond:
P# killed exactly 1 "guys"
set switch1

Action:
Set "unit hp" to 2%
clear switch1
set switch2

#2

Cond:
P# Killed exactly 1 "guys"
Switch2 is set

Action:
Set "unit Hp" to 3 %
clear switch2
set switch3



Ps: that could be not working, i dind't tryed...
Report, edit, etc...Posted by phatdiddy on 2004-08-29 at 22:13:10
The problem with that would be if like the unit had full health, it would go down to almost none. THat's why setting hp is almost useless except for like heal beacons and stuff.
Report, edit, etc...Posted by Staredit.Net Essence on 2004-08-29 at 22:14:29
cry.gif Damn The % !


Or could do the inverse... each time you lose a men, -10 hp! biggrin.gif
Report, edit, etc...Posted by phatdiddy on 2004-08-29 at 22:14:58
How would you do -10 hp?

It's percent remember, lol
Report, edit, etc...Posted by Staredit.Net Essence on 2004-08-29 at 22:16:03
Duh!

Sorry Im tired pinch.gif
Report, edit, etc...Posted by phatdiddy on 2004-08-29 at 22:18:28
You could try using virtual hp, it's a bit limited sorta, unless you wanna do some extra switch and trigger work. A bit of a waste for a multiplayer map though.

Read here.
Report, edit, etc...Posted by .Coko[CK] on 2004-08-30 at 07:35:53
You never need to use Switches for anything other than Toggle and Randomisation, else i would use a Death Count or Custom Points, hell if the person won't kill anything or do much use the other counters...

Its all about having a burrowed unit under the unit, and when it dies, your units health reduces, normally your unit cannot be harmed, and through that you set up your Health Levels, if you need to find out each percentage, then place your health through a calculator and percent it with each level.
Report, edit, etc...Posted by CheeZe on 2004-08-30 at 07:53:06
QUOTE(phatdiddy @ Aug 29 2004, 09:14 PM)
How would you do -10 hp?

It's percent remember, lol

have a unit attack it one time that deals exactly 10 damage and to heal, you use a medic wink.gif
Report, edit, etc...Posted by phatdiddy on 2004-08-30 at 09:03:05
QUOTE(CheeZe(U) @ Aug 30 2004, 06:53 AM)
have a unit attack it one time that deals exactly 10 damage and to heal, you use a medic  wink.gif

With triggers though you couldn't.

I was thinking about using something like that for some spells once. Having a dark templar deal actual damage and using a few computers so taht I could use a different players dt to have different upgrades, so the spell did more damage.

And I usually use switches instead of death counters. As long as the triggers work it really don't matter if I use switches or death counters, they basically have the same affect.
Report, edit, etc...Posted by .Coko[CK] on 2004-08-30 at 09:45:34
Problems lay in how much attack it does and if your timing goes wrong and such, plus its hard to keep count of damage done, plus you get the problem with Protoss Shields, Zerg anything and Terran Buildings which all vary!
Report, edit, etc...Posted by Psycho]aD[ on 2004-09-11 at 14:19:57
(condition) current player kills exactly x unit
(action) modify unit health to x%

but you cant start off with a unit with 100% life though or this doesnt work
Report, edit, etc...Posted by DT_Battlekruser on 2004-09-11 at 14:22:42
QUOTE(Sessase @ Aug 29 2004, 07:10 PM)
or Using kill unit:
#1

Cond:
P# killed exactly 1 "guys"
set switch1

Action:
Set "unit hp" to 2%
clear switch1
set switch2

#2

Cond:
P# Killed exactly 1 "guys"
Switch2 is set

Action:
Set "unit Hp" to 3 %
clear switch2
set switch3
Ps: that could be not working, i dind't tryed...
[right][snapback]61433[/snapback][/right]



QUOTE(phatdiddy @ Aug 29 2004, 07:13 PM)
The problem with that would be if like the unit had full health, it would go down to almost none. THat's why setting hp is almost useless except for like heal beacons and stuff.
[right][snapback]61435[/snapback][/right]



So what is the point of your existance?
Report, edit, etc...Posted by .Coko[CK] on 2004-09-11 at 15:59:19
A little over the top there, want to watch your tone, he was providing assistance, although limited! And against the rules, much like most things that go on here!
Report, edit, etc...Posted by DT_Battlekruser on 2004-09-11 at 16:04:37
was his 6th or 7th post of spam in about 8 minutes. I started out being polite. closedeyes.gif
Next Page (1)