I have a trigger that if someone clicks 1 dialog button they get added to the first player group, max of 6 players, and they have a certain unit that if all players on that team have that unit killed or 0 left, they lose and the other team wins. The other team is the same way; Has 2 players and has another certain units that if they are dead or have none left they lose and the first team wins. How would i create a trigger that would respond to the people added to the player group lose after their specific unit has 0 left and the same for the 2nd team?
Let's see if I understand what you're saying. Are you saying that each player after pressing a dialog button gets assigned a team and a unit? And you want to make a team lose if no one on their team has a unit?
I have a trigger that if someone clicks 1 dialog button they get added to the first player group, max of 6 players, and they have a certain unit that if all players on that team have that unit killed or 0 left, they lose and the other team wins. The other team is the same way; Has 2 players and has another certain units that if they are dead or have none left they lose and the first team wins. How would i create a trigger that would respond to the people added to the player group lose after their specific unit has 0 left and the same for the 2nd team?
@Vietman: Go
Let's see if I understand what you're saying. Are you saying that each player after pressing a dialog button gets assigned a team and a unit? And you want to make a team lose if no one on their team has a unit?
@Vietman: Go
Events - Unit Dies
Conditions - All the other units are dead
Actions - Pick Each Player in Player Group
-End game for picked PlayerSomething like that?