Is it possible to force a player to be a certain player number? I'm wondering this because my map is meant for 3v3v3v3, but getting that many people is near impossible. Player 1-3, 4-6, 7-9, and 10-12 are on teams. So say I wanted to have a 1v1v1v1 mode is it possible to force a player to be player 4, 7, and 10? Or is there another simpler way to do this? Right now I'm using AI as place holders for the players and I have a command that kills them in game so you can have your teams, but this isn't the most efficient way and I'm the only one who knows the command...
I guess I'm not really looking for team balance, I'm looking for this because I would like to have other game modes like 1v1v1v1, or 6v6 to choose in lobby. That's why I was wondering if it is possible to change player number so that in certain game modes the player is set as player 4 and gets put on the right team.
Yes, I know this. I was asking if anyone knew if it were possible to force a player to a certain number. I've been messing around for a while in there. I will only have 4 slots in lobby but I want player 1 = Player 1 in game, Player 2 = Player 4 in game...
Have you tried creating 4 player groups, then making a for each player in player group all units loop? Then assign each player to a player group sequentially, so you'll have even teams. Then set the allies and enemies in another loop. Then for the rest of your triggers you can use player in player group index. This could help you because player index 1 in the team 1 group will be constant whereas there's no guarantee that any player will sign up for the correct team.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is it possible to force a player to be a certain player number? I'm wondering this because my map is meant for 3v3v3v3, but getting that many people is near impossible. Player 1-3, 4-6, 7-9, and 10-12 are on teams. So say I wanted to have a 1v1v1v1 mode is it possible to force a player to be player 4, 7, and 10? Or is there another simpler way to do this? Right now I'm using AI as place holders for the players and I have a command that kills them in game so you can have your teams, but this isn't the most efficient way and I'm the only one who knows the command...
make player 1,5,9 in team 1
make player 2,6,10 in team 2
make player 3,7,11 in team 3
make player 4,8,12 in team 4
that way your teams will be balanced if only 4 or 8 peep join
I guess I'm not really looking for team balance, I'm looking for this because I would like to have other game modes like 1v1v1v1, or 6v6 to choose in lobby. That's why I was wondering if it is possible to change player number so that in certain game modes the player is set as player 4 and gets put on the right team.
than you need to mess around in the game variants
its under map -> game variants
Yes, I know this. I was asking if anyone knew if it were possible to force a player to a certain number. I've been messing around for a while in there. I will only have 4 slots in lobby but I want player 1 = Player 1 in game, Player 2 = Player 4 in game...
@ndudz: Go
Have you tried creating 4 player groups, then making a for each player in player group all units loop? Then assign each player to a player group sequentially, so you'll have even teams. Then set the allies and enemies in another loop. Then for the rest of your triggers you can use player in player group index. This could help you because player index 1 in the team 1 group will be constant whereas there's no guarantee that any player will sign up for the correct team.