| 11-30-2003, 02:35 AM | #1 |
how do i make AOE damage when a unit dies on that unit? with triggers, dont even say JASS cuz i have no clue and im too stupid to understand it |
| 11-30-2003, 03:29 AM | #2 |
When a unit dies on that unit? Why not just use the AOE upon death ability? I suppose you could do it by triggers, but wouldn't that just be a waste of space? Well not space really... it wouldn't take up hardly any room.. time I guess. :D |
| 11-30-2003, 04:49 AM | #3 |
make a trigger that waits for an order to be made with the order string of the spell/ability/power. then use the function that picks all the units within the close range radius and make it do about one third of the spell's damage, then wait .01 seconds and do the same for a slightly larger radius, and finnaly the 3rd one after a .01 second wait that does another third of the spell's damage over the "small damage radius". The triggers make the damages overlap, making the close range damage get all three thirds of the spell/ability/power's get calculated. The same with two thirds damage with the units in the "medium range damage", and so on. If you wanted this comfirmed, I will make a test map for you in the morning. |
| 11-30-2003, 01:12 PM | #4 |
Untitled Trigger 001 Events Unit - Blood Mage 0011 <gen> Dies Conditions Actions Unit Group - Pick every unit in (Units within 512.00 of (Position of Blood Mage 0011 <gen>)) and do (Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 100.00)) |
| 11-30-2003, 01:36 PM | #5 |
and how it works the AOE upon death?? it can be used with the rencarnation??? i want deal damage when my hero dies and just when he resurect (using rencarnation), a fire effect will be added to the hero and deal damage to nerby units (small damage) |
