Staredit Network

Staredit Network -> UMS Assistance -> Poison when an unit attack?
Report, edit, etc...Posted by CheezyTheCheezeCake on 2006-01-06 at 10:59:02
Just like the title says. I wonder if it is possible and if it is,how do you do it? I want a hydra in my map that can spit poison that damage 3hp each second and stop after 15 seconds.
Report, edit, etc...Posted by joker2kill on 2006-01-06 at 11:05:10
im not quite sure about this but it could be sumthin like-

Conditions- No COndition (or whatever you want)

Actions- Modify Unit HitPoints

then you would have to go from what your map needs, or you might have to make chain triggers to get the affect that you want

COnditions- (w/e u want)

Actions- Modify unit Hitpoints
Wait (XXX)
Modify Unit Hipoints


do this until you have reached the amount you want or 15 seconds
Report, edit, etc...Posted by Kumano on 2006-01-06 at 11:06:42
To make it do something that does damage over time, you would require EUD conditions to detect health and lower it depending on what health it is at. This is not extremely useful unless in an RPG where you only control one unit, since you need to know the unit number for EUD health detection, and with lots of units it would take far too many triggers. Modify unit hitpoints only sets the health, instead of subtracting/adding health.
Report, edit, etc...Posted by CheezyTheCheezeCake on 2006-01-06 at 12:28:09
QUOTE(Kumano @ Jan 7 2006, 04:06 AM)
To make it do something that does damage over time, you would require EUD conditions to detect health and lower it depending on what health it is at. This is not extremely useful unless in an RPG where you only control one unit, since you need to know the unit number for EUD health detection, and with lots of units it would take far too many triggers. Modify unit hitpoints only sets the health, instead of subtracting/adding health.
[right][snapback]399886[/snapback][/right]

Oh.. I guess i don't use poison in my map:P
Report, edit, etc...Posted by BLISSARD[VdD] on 2006-01-06 at 12:41:42
I don't know but I think if a zergling its possible lol
maybe something like this, put a trigger that move the location on the unit(small location). If the zerglings get to the unit which it would also touch the location. Then activate the trigger for losing 3hp for every seconds and for 15 seconds or whateever you want after that.

ermm.gif lookaround.gif
Report, edit, etc...Posted by Red2Blue on 2006-01-06 at 14:57:10
Virtual HP solves all problems. Check for it in the tutorial database.
Next Page (1)