- Joined
- Jan 25, 2006
- Messages
- 103
Hi there.
So I have set up some triggers so that a unit destroys objectx, all players heroes are moved to positionx and all units in map owned by enemy player are paused.
Now if players kill unitx, they are transfered to center of map, enemy player units unpaused and I got it all done and working good.
The problem i have is how to make it so that if all players heroes are killed by the unitx, so that all players heroes are revived to positionx2 and enemy player units unpaused?
I can't seem to think of a way or find a way to check if all players heroes are killed by unitx and when that happens to revive them at positionx2.
Any help or example on what triggers and/or variable to use would be very apreciated! Thanks in advance!
So I have set up some triggers so that a unit destroys objectx, all players heroes are moved to positionx and all units in map owned by enemy player are paused.
Now if players kill unitx, they are transfered to center of map, enemy player units unpaused and I got it all done and working good.
The problem i have is how to make it so that if all players heroes are killed by the unitx, so that all players heroes are revived to positionx2 and enemy player units unpaused?
I can't seem to think of a way or find a way to check if all players heroes are killed by unitx and when that happens to revive them at positionx2.
Any help or example on what triggers and/or variable to use would be very apreciated! Thanks in advance!