- Joined
- Nov 3, 2009
- Messages
- 687
Hello,
I'm making little map... WSG(Warsong Gulch) and I made 2 teams(Horde,Alliance) ex. When alliance player dies he will be revived at alliance base and when horde player die it will be revived at horde base! I made 2 triggers, but they don't want to work ;>>
Here Alliance trigger:
I'm making little map... WSG(Warsong Gulch) and I made 2 teams(Horde,Alliance) ex. When alliance player dies he will be revived at alliance base and when horde player die it will be revived at horde base! I made 2 triggers, but they don't want to work ;>>
Here Alliance trigger:
-
ReviveA
-
Events
- Unit - A unit Dies
-
Conditions
- (Owner of (Dying unit)) Equal to Player 1 (Red)
- (Owner of (Dying unit)) Equal to Player 2 (Blue)
- (Owner of (Dying unit)) Equal to Player 7 (Green)
- ((Dying unit) is A Hero) Equal to True
-
Actions
- Set NEPoint = (Center of Night Elf Start Revive <gen>)
- Game - Display to (Player group((Owner of (Triggering unit)))) the text: You have dead... Wa...
- Wait 5.00 seconds
- Hero - Instantly revive (Dying unit) at NEPoint, Show revival graphics
- Custom script: call RemoveLocation(udg_NEPoint)
-
Events
-
ReviveH
-
Events
- Unit - A unit Dies
-
Conditions
- (Owner of (Dying unit)) Equal to Player 9 (Gray)
- (Owner of (Dying unit)) Equal to Player 12 (Brown)
- (Owner of (Dying unit)) Equal to Player 10 (Light Blue)
- ((Dying unit) is A Hero) Equal to True
-
Actions
- Set OrcPoint = (Center of Orc Start Revive <gen>)
- Game - Display to (Player group((Owner of (Triggering unit)))) the text: You have dead... Wa...
- Wait 5.00 seconds
- Hero - Instantly revive (Dying unit) at OrcPoint, Show revival graphics
- Custom script: call RemoveLocation(udg_OrcPoint)
-
Events