This is my problem with my hero Revival Triggers.
The Goal is:
When a hero dies, Equal to ..
the Hero dies, and a ghost spawns on the dying spot of the hero.
And it has to walk to any graveyard (Regions), to respawn the hero at southern survivalist camp [region], and the ghost dies ofcourse.
This is what i got:
I know that isn't really what i said above, but it has to be the above, i just made some adjustments to see if it works then. It supposed to be like said above.
The Goal is:
When a hero dies, Equal to ..
the Hero dies, and a ghost spawns on the dying spot of the hero.
And it has to walk to any graveyard (Regions), to respawn the hero at southern survivalist camp [region], and the ghost dies ofcourse.
This is what i got:
Trigger:
- Hero Reviving
- Events
- Unit - A unit Dies
- Conditions
- ((Dying unit) is A Hero) Equal to True
- ((Owner of (Dying unit)) is an ally of Player 1 (Red)) Equal to True
- Actions
- Wait 3.00 seconds
- Unit - Move (Dying unit) instantly to (Random point in The dead Spot <gen>)
- Game - Display to (Player group((Owner of (Dying unit)))) for 5.00 seconds the text: Get the ghost to an...
- Set Temp_Point = (Position of (Dying unit))
- Unit - Create 1 Ghost for (Owner of (Dying unit)) at Temp_Point facing Default building facing degrees
- Custom script: call RemoveLocation (udg_Temp_Point)
- Events
Trigger:
- Hero Reviving 2
- Events
- Unit - A unit enters Graveyard HS 1 <gen>
- Conditions
- (Unit-type of (Entering unit)) Equal to Ghost
- Actions
- Unit - Remove (Entering unit) from the game
- Unit - Move (Picked unit) instantly to (Center of Hero Dead Spawn <gen>)
- Events
I know that isn't really what i said above, but it has to be the above, i just made some adjustments to see if it works then. It supposed to be like said above.