I'm trying to make a map where teams get sorted in the lobby to 4v4 and that cannot be changed but players should be able to move around the lobby freely. In game units are then given to those players on the 2 opposite points for each team but this is not working, I can identify which team a player is on but do not understand this "for each player" trigger that is supposed to sort though 4 players and distribute each unit to each of the 4 players.
What is happening is all of the trigger goes through and only 1 player ends up with any units. So basically the trigger is not distributing as it should and I think its because I do not understand it at all.
Anyone kind enough to sum up how to evenly sort players into their respective forces and then give the units already on the map to each player in those 2 distinct areas?
The below is just finished for 1 player so far. It was finished for all but I figured a broken trigger is of no use.
2 team playergrp variables
team1 = Players on team 1
team2 = Players on team 2
pick each player in team1 and if playing give them stuff
pick each player in team2 and if playing give them stuff
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm trying to make a map where teams get sorted in the lobby to 4v4 and that cannot be changed but players should be able to move around the lobby freely. In game units are then given to those players on the 2 opposite points for each team but this is not working, I can identify which team a player is on but do not understand this "for each player" trigger that is supposed to sort though 4 players and distribute each unit to each of the 4 players.
What is happening is all of the trigger goes through and only 1 player ends up with any units. So basically the trigger is not distributing as it should and I think its because I do not understand it at all.
Anyone kind enough to sum up how to evenly sort players into their respective forces and then give the units already on the map to each player in those 2 distinct areas?
The below is just finished for 1 player so far. It was finished for all but I figured a broken trigger is of no use.
why not just change
General - Switch (Actions) depending on (Team [Premade: 4 v 4] value for player 1)
to
General - Switch (Actions) depending on (Team [Premade: 4 v 4] value for picked player)
Does that not work?
2 team playergrp variables
team1 = Players on team 1
team2 = Players on team 2
pick each player in team1 and if playing give them stuff
pick each player in team2 and if playing give them stuff