I have a map I am working on and when all players suffer defeat (i already have that trigger made when they lose their barracks) the player left does not get a victory. I need help with that trigger. I was kinda lazy (and i have no idea how to spawn units when a player is playing) and made it so that each player starts with a barracks on the actual map, not through triggers.. I hope that doesn't make things not work. But i set all the players to computer except player 1 while testing it myself and when I destroyed their barracks it said they were defeated but i received no victory :S
right but i need help with a variable to detect that there are no more players in the game other than the victor. I know i need to make an array of 12 integer but i am still a bit on the retarded side when it comes to setting up the actual trigger for it.
what is the actual trigger setup like? I found the count active players in the player group section but i need to be told specifically how the trigger is to be set up. Like Event: Variable: Condition: Action:. I need to know exactly what needs to be put in all of those fields. I appreciate the replies but they are too vague for me to just run with it and make the trigger.
@KillerGymSox:
Events
Every 5 seconds of game time
Condition
Number of players in unit group "Active Players" = 1
Action
End game for victory for all players.
I have a map I am working on and when all players suffer defeat (i already have that trigger made when they lose their barracks) the player left does not get a victory. I need help with that trigger. I was kinda lazy (and i have no idea how to spawn units when a player is playing) and made it so that each player starts with a barracks on the actual map, not through triggers.. I hope that doesn't make things not work. But i set all the players to computer except player 1 while testing it myself and when I destroyed their barracks it said they were defeated but i received no victory :S
@KillerGymSox:
That's not enough to give those players defeat. You have to give Victory to the winner =)
@BloodClud: Go
yeah but how do i do that...
@KillerGymSox:
Change end game defeat <Player> ==> end game victory <Winner>.
@BloodClud: Go
right but i need help with a variable to detect that there are no more players in the game other than the victor. I know i need to make an array of 12 integer but i am still a bit on the retarded side when it comes to setting up the actual trigger for it.
@Yaos01: Go
what is the actual trigger setup like? I found the count active players in the player group section but i need to be told specifically how the trigger is to be set up. Like Event: Variable: Condition: Action:. I need to know exactly what needs to be put in all of those fields. I appreciate the replies but they are too vague for me to just run with it and make the trigger.
@Yaos01: Go
thanks man, appreciate the time you took to help me