- Joined
- Nov 11, 2007
- Messages
- 39
Im looking to create a trigger(s) that enable a WoW style of revival.
A hero dies
A marker (body/grave) is placed at location of dying unt
A ghost is created at nearest Graveyard
A ghost comes within a certain distance of grave, give ghost dummy ability revive
A ghost leaves a certain distance of grave, remove dummy ability revive
ghost casts revive, revive hero at location of ghost
The only problem im having im really having is adding/removing the ability from the ghost, the rest is fairly stright forward. The "comes within range" function requires a definate unit and will not function with a variable and has no "unit leaves range" counterpart. I tried using moving regions but that gets confusing and regions dont really like to be moved.
Any help would be greatly appreciated.
A hero dies
A marker (body/grave) is placed at location of dying unt
A ghost is created at nearest Graveyard
A ghost comes within a certain distance of grave, give ghost dummy ability revive
A ghost leaves a certain distance of grave, remove dummy ability revive
ghost casts revive, revive hero at location of ghost
The only problem im having im really having is adding/removing the ability from the ghost, the rest is fairly stright forward. The "comes within range" function requires a definate unit and will not function with a variable and has no "unit leaves range" counterpart. I tried using moving regions but that gets confusing and regions dont really like to be moved.
Any help would be greatly appreciated.