X-maul
AKA: Demtrod
- Reaction score
- 201
I want to make a hero who dies revive after 2 seconds (thats just for test reasons), return to the owners starts location and not lose any experience.
This is what I got right now, and it does not work - only the text displays.
Trigger:
- Hero Revive
- Events
- Unit - Any Unit dies
- Local Variables
- SL = (Start location of player (Owner of (Triggering unit))) <Point>
- Conditions
- ((Unit type of (Triggering unit)) is Hero) == true
- Actions
- UI - Display "Die" for (All players) to Subtitle area
- General - Wait 2.0 Game Time seconds
- UI - Display "Revive" for (All players) to Subtitle area
- Unit - Revive (Triggering unit)
- Unit - Set (Triggering unit) Life (Percent) to 100.0
- Unit - Move (Triggering unit) instantly to SL (No Blend)
- Events