Okay so straight to it. In my map there are 8 teams, each team has 2 players. I need a trigger so that when all the other teams have 0 units left, the team with atleast 1 unit wins. Now im talking total team units, so if red whos is on team 1 has 1 unit, and blue who has 0 units is on reds team (team 1) they both achieve victory. Can anyone help?
Heres how in and ideal easy world it would look. (I know im using fake conditions and such, but this should give a better idea of what i need). Also in my fake trigger, team 1 is the victor.
Event: Every 0.05 seconds of game time.
Condition: Number of units owned by team 2 equal to 0.
Number of units owned by team 3 equal to 0.
Number of units owned by team 4 equal to 0.
Number of units owned by team 1 equal to atleast 1
Action: Victory for red
Victory for blue
You dont need the event to be every 0.05 seconds of game time, i just used that as a basis.
Additional info:
Team 1 is red and blue
Team 2 is teal and purple
Team 3 is yellow and orange
Team 4 is green and pink
I have playergroup variable for each team.
Oh yah I also have a defeat trigger which makes it so when one team has no units the get defeat.
Thanks! bai!
Heres how in and ideal easy world it would look. (I know im using fake conditions and such, but this should give a better idea of what i need). Also in my fake trigger, team 1 is the victor.
Event: Every 0.05 seconds of game time.
Condition: Number of units owned by team 2 equal to 0.
Number of units owned by team 3 equal to 0.
Number of units owned by team 4 equal to 0.
Number of units owned by team 1 equal to atleast 1
Action: Victory for red
Victory for blue
You dont need the event to be every 0.05 seconds of game time, i just used that as a basis.
Additional info:
Team 1 is red and blue
Team 2 is teal and purple
Team 3 is yellow and orange
Team 4 is green and pink
I have playergroup variable for each team.
Oh yah I also have a defeat trigger which makes it so when one team has no units the get defeat.
Thanks! bai!