- Joined
- Mar 21, 2014
- Messages
- 893
Shall we start by now? Now let's rock!
[trigger=Follow these steps]Undead Dissipate
Events:
Unit - A unit dies
Conditions:
(Unit-type of (Dying unit)) Equal to UndeadHero
Actions:
-------- Add your hero's death time+1 second here --------
Wait HeroDeathTime+1 seconds
-------- Set Varible here --------
Set DyingHero=Dying unit
Set DyingHeroLoc=Position of DyingHero
-------- Trigger --------
Special Effect -Create special effect at (Center of (DyingHeroLoc)) using Objects/Spawnmodels/UndeadDissipate/UndeadDissipate.mdl
Wait 2.50 seconds
Special Effect - Destroy Last Created Effect
-------- The End --------[/trigger]
I think it'll help.
[trigger=Follow these steps]Undead Dissipate
Events:
Unit - A unit dies
Conditions:
(Unit-type of (Dying unit)) Equal to UndeadHero
Actions:
-------- Add your hero's death time+1 second here --------
Wait HeroDeathTime+1 seconds
-------- Set Varible here --------
Set DyingHero=Dying unit
Set DyingHeroLoc=Position of DyingHero
-------- Trigger --------
Special Effect -Create special effect at (Center of (DyingHeroLoc)) using Objects/Spawnmodels/UndeadDissipate/UndeadDissipate.mdl
Wait 2.50 seconds
Special Effect - Destroy Last Created Effect
-------- The End --------[/trigger]
I think it'll help.