HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Reincarnation Detection

11-09-2004, 09:26 PM#1
LucidSnake
I am having problems having a trigger that detects when reincarnation is used by a hero. It doesn't get caught with "unit begins/finishes casting an ability". Any help?
11-09-2004, 09:49 PM#2
Rafael Br
There is no simple way of detecting it, it has been said in a lot of treads, but Anitarf found a way:
http://www.wc3campaigns.com/showthread.php?t=66471
11-09-2004, 10:38 PM#3
Dalten
Quote:
Originally Posted by Rafael Br
There is no simple way of detecting it, it has been said in a lot of treads, but Anitarf found a way:
http://www.wc3campaigns.com/showthread.php?t=66471

I never tried it(or had to) myself, but when the ability goes off doesn't it trigger a "unit begins to cast an ability" event? Just curious.
11-09-2004, 10:50 PM#4
th15
Quite simply. No.
11-09-2004, 11:51 PM#5
thedevil
Event:A unit die
Condition:Level of reincarnation for dying unit equal to [X]
Action:
-Do what u want
I think it the most simple way to do :D i have use this for my auto life spell too hope it can help ^_^
11-10-2004, 01:36 PM#6
Vexorian
Quote:
Originally Posted by thedevil
Event:A unit die
Condition:Level of reincarnation for dying unit equal to [X]
Action:
-Do what u want
I think it the most simple way to do :D i have use this for my auto life spell too hope it can help ^_^
SO simple, that it doesn't work, when reincarnation is used, the A unit dies event doesn't fire
11-11-2004, 05:41 AM#7
thedevil
Quote:
SO simple, that it doesn't work, when reincarnation is used, the A unit dies event doesn't fire

Oh i forgot this so sorry then we can create 1 dummy passive and give it to this unit and create a trigger like this and for cooldown just create 1 active ability have same icon and make dying unit cast when he revive :D
11-11-2004, 01:16 PM#8
Vexorian
Quote:
Originally Posted by thedevil
Oh i forgot this so sorry then we can create 1 dummy passive and give it to this unit and create a trigger like this and for cooldown just create 1 active ability have same icon and make dying unit cast when he revive :D
That makes Anitarf 's method more easier than it though