Hi there, I am yap, and this is the first time I make a post as I couldn't find any solutions for my problem after having searches on the forum
Well, for my map, I have a Priest who knows resurrections, and he is the one who can cast Resurrection, to resurrect the hero back to the battlefield.
And today, I found some material which can help me, as below.
But, there may be 2 or MORE hero died.
I have tried, when there is 2 or more hero died, only the one which is firstly died can be revived?
Any solutions for my problems? Please.
Thanks for reading
Well, for my map, I have a Priest who knows resurrections, and he is the one who can cast Resurrection, to resurrect the hero back to the battlefield.
And today, I found some material which can help me, as below.
But, there may be 2 or MORE hero died.
I have tried, when there is 2 or more hero died, only the one which is firstly died can be revived?
Any solutions for my problems? Please.
Thanks for reading
Trigger:
- Hero Dies
- Events
- Unit - A unit Dies
- Conditions
- ((Dying unit) is A Hero) Equal to True
- Actions
- Set Dying_Units[0] = (Dying unit)
- Events
Trigger:
- Resurrection
- Events
- Units - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Resurrection
- Actions
- Hero - Instantly revive Dying_Units[0] at (Center of Revive Regiong <gen>), Show revival graphics
- Events