Hit Points
Mar 3 2008, 3:19 am
By: Brontobyte  

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



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.

Post has been edited 2 time(s), last time on May 20 2008, 8:56 pm by Brontobyte.



None.

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



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



None.

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



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.

Post has been edited 2 time(s), last time on May 20 2008, 8:56 pm by Brontobyte.



None.

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



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.



None.

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



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...



None.

Mar 3 2008, 10:26 am 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

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.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:30 am]
Ultraviolet -- :lol:
[03:35 am]
jjf28 -- easy not necessarily the word I'd use, but should be doable
[05:43 pm]
Zoan -- NudeRaider
NudeRaider shouted: Zoan yes you can.
oh, yeah you’re right. Then yeah if you use an ai script it should be easy to farm unfinished buildings in some unused area on the map and just move them around, right?
[2019-10-17. : 6:06 am]
NudeRaider -- KrayZee
KrayZee shouted: Voyager7456 Somehow I misread your shout. "Glad I can entertain you in Nude" as if you sent a racy photo, video or something.
nah, he just made a comment that had us laughing very hard.
[2019-10-17. : 6:02 am]
NudeRaider -- Zoan
Zoan shouted: sraw531 you can’t move buildings afaik
yes you can.
[2019-10-16. : 10:03 pm]
Dem0n -- no
[2019-10-16. : 8:26 pm]
GGmano -- Is here a forum only for temple siege?
[2019-10-16. : 4:20 pm]
KrayZee -- Voyager7456
Voyager7456 shouted: Glad I can entertain you Nude
Somehow I misread your shout. "Glad I can entertain you in Nude" as if you sent a racy photo, video or something.
[2019-10-16. : 2:26 pm]
martosss -- Moose
Moose shouted: martosss IIRC, the plan was to go 64-bit only eventually so they're interested in differences between the versions
well I might have found 1 bug for them to fix - some maps load on 32 bit, but not on 64 bit game version
[2019-10-16. : 2:19 pm]
Zoan -- sraw531
sraw531 shouted: I'm pretty sure you would move the building away at some point. When you do so, you can give it to someone else. I was thinking nexi because its possible you could encourage the computer to expand to a specific spot
you can’t move buildings afaik
Please log in to shout.


Members Online: Roy