Staredit Newtork
Community
StarCraft
Games
Site
Favourites
Hit Points

Creator: Brontobyte
Time: Mar 3 2008, 3:19 am

Post #1     Brontobyte Mar 3 2008, 3:19 am

[Avatar]
 offline contact
Well, I ment to post this on http://www.maplantis.org but sence its offline or whatnot, here goes nothing.

I was wondering if it is possible to automaticly heal a unit, via triggers? Nothing to due with EUD would be nice. I was thinking of [I]Zerg Units
and how they heal by themselfs automaticly. I was thinking of something like a set Death Counter and add 1 to it every ~1 second, and then have another trigger with:
Actions:
Current Player Has Exactly 10 Deaths Of DC: Health

Conditions:
Set Current Player Hit Points Of Terran Marine To 10%

Good? Bad? More? Less?

Feed back please.
This post was edited 2 times, last edit by Brontobyte: May 20 2008, 8:56 pm.
╔═══╦═══╦═══╦══╦═╦═══╦═══╦═══╦═╦═╦═══╦═══╗
╠═══╣....═╣............╠╗..╔╣....╠═══╬╗..╔╩╗..╔╬═══╣
╚═══╩═╩═╩═══╩═╩══╩╩═╩╩═══╩═══╩╩═╩═╩═╩╩═══╝
Top

Post #2     Joshgt2 Mar 3 2008, 3:23 am

[Avatar]
Lets Roll Out!
 offline contact
Doing something like that will only keep the Marine, in this case, only at 10% health. Sadly enough you can't give health nor take it away but I don't think that this approach is going to work for you
(user posted image)
Top

Post #3     Brontobyte Mar 3 2008, 3:26 am

[Avatar]
 offline contact
I was also thinking, what if the marine had more then 10% of its life? Then I would be setting it lower then to higher. How would I know its Hit Points? I dont want Virtual Hit Points Nor EUD's.
This post was edited 2 times, last edit by Brontobyte: May 20 2008, 8:56 pm.
╔═══╦═══╦═══╦══╦═╦═══╦═══╦═══╦═╦═╦═══╦═══╗
╠═══╣....═╣............╠╗..╔╣....╠═══╬╗..╔╩╗..╔╬═══╣
╚═══╩═╩═╩═══╩═╩══╩╩═╩╩═══╩═══╩╩═╩═╩═╩╩═══╝
Top

Post #4     Viett Mar 3 2008, 3:38 am

[Avatar]
 offline contact
The fast answer is that you can't. You can make a unit's HP out of 100 and make their HP correspond to a number of deaths, but if you do this, you can only add or subtract HP with triggers. Your "real" HP would become a variable stored as deaths, rather than your actual HP.
Top

Post #5     Joshgt2 Mar 3 2008, 4:13 am

[Avatar]
Lets Roll Out!
 offline contact
Seems like virtual HP would be the way to go, that is if you don't have a ton of people to have the virtual health for because having too many will make you have a lot more triggers than what you would rather have...
(user posted image)
Top

Post #6     NudeRaider Mar 3 2008, 10:26 am

[Avatar]
Write your own destiny, or else someone will write it for you!
 offline contact
ADDING HP with triggers is not possible.

However you can heal / repair / recharge shields of the unit.
Healing isn't even that difficult. Just periodically create a allied medic near your unit and remove it after a short time.
A scv and shield battery however would need the player to do it manually.
(signature image)
http://sonsofwar.pyrom.net/index.html___0% (user posted image) 100%
Top
0 members in this topic: None
+ 0 guest(s)


[12:20 am]
RISKED911 -- You might not like it though...
[12:19 am]
Mini Moose 2707 -- I like ideas
[12:19 am]
RISKED911 -- You know I had an idea for a forum.
[12:18 am]
[Echo]:] -- u sux
[12:16 am]
isolatedpurity -- bed time for me
[12:13 am]
[Echo]:] -- ip let's play
[11:53 pm]
[Vi3t-X]:] -- http://www.staredit.net/?p=modnight Download #1, go to ShadowFlare, help test random stuff. :P
You must log in to shout.

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions