| 04-08-2004, 03:00 PM | #1 |
Hello there. I need help on a trigger: I want to make that when a unit dies there will be a fire that comes where the unit stands (or where he dies) and damage all around the dying unit. It must be the xact moment when the unit dies Thx For helping |
| 04-08-2004, 08:38 PM | #2 | |
Quote:
make a dummy unit. Set the dummy unit to attacks enabled(none), give it the invulnerable (neutral hostile) ability, locust ability, set movement speed to 0, change the model to whatever fire effect and give it a custom immolation ability. Or you can just give the units the AOE Damage upon death spell and just create a special effect when it dies with whaterver fire effect you want. Here is an example from one of my units in my map. The unit(HeroArray[11]) has the AOE Damage upon death ability. Code:
Reincarnation BOOM
Events
Unit - A unit Dies
Conditions
(Dying unit) Equal to HeroArray[11]
Actions
Special Effect - Create a special effect at (Position of (Dying unit)) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
Special Effect - Destroy (Last created special effect) |
| 04-09-2004, 12:52 AM | #3 | |
o_O Quote:
Thx but there is something else in my mind.... AOE damage upon death... Help plz :> how do i make that ? im mayby a complete morron now..... o_O |
| 04-09-2004, 02:05 AM | #4 | |
Quote:
In the Object Editor click on the Abilities tab and create(file>new custom ability) a new custom ability. Type in the name of the new ability that you want. Then select UNIT in the drop down box and select the ability AOE Damage Upon Death (Goblin Mine). |
| 04-09-2004, 12:53 PM | #5 | |
Quote:
how could I be so damn stupid... :o |
