Staredit Network

Staredit Network -> Concepts -> New HP System?
Report, edit, etc...Posted by Kumano on 2005-08-29 at 14:42:38
I was just thinking, you could make 'Unit HP' condition with EUD conditions on a unit (lots of them for every HP the unit could have, lots of triggers unfortunately sorta like this one:

Trigger
Conditions:
¤ Unit HP for unit whatever is 99 (assuming it has 100 HP to lose)
Actions:
¤ Modify unit hp to 100%
¤ Subtract 1 custom
¤ Preserve Trigger


and have custom as its HP, would make it easier to do effects that subtract HP or add HP by a specific amount instead of setting to whatever percentage.

EDIT: forgot to put preserve trigger in the trigger
Report, edit, etc...Posted by Deathknight on 2005-08-29 at 16:07:23
Well you'd basically have to do it for every unit slot as well, unless you know which unit it is(Example: First unit placed on the map).
Report, edit, etc...Posted by Kumano on 2005-08-29 at 16:25:51
Yeah, unfortunately, so it pretty much only works if you plan on doing it before you start the map or have a lot of patience.
Report, edit, etc...Posted by Vibrator on 2005-08-29 at 16:59:37
You would really only need to do it for the hero units, enemy units don't need to use this. Or you could make a macro which will do all the unit slots for you tongue.gif
Report, edit, etc...Posted by Sniper on 2005-08-29 at 18:00:21
Why not just use virtual HP. It's the same thing, without going through the trouble of EUD's and such.
Report, edit, etc...Posted by Kumano on 2005-08-29 at 18:11:09
This sort of is virtual HP but it can also be lowered by units without splash and the EUDs aren't that hard if you know what unit number it is and if you're using uberation, only problem is that it uses a ton of triggers comparing to virtual HP triggers.
Report, edit, etc...Posted by Wilhelm on 2005-08-29 at 21:31:11
And the fact that it's not mac compatible, and might get patched sometime in the future.
Next Page (1)