in my new map there are two teams of four players.
In the bnet lobby i managed to display the two teams, with four slots each.
Now the problem is this, if for example there are only two players, one for each team, the game still consider them as Player 1 and Player 2.
What i'd expect is that the game consider Player 1 as Player 1 (assuming he is in the first slot) and Player 2 as Player 5 (assuming he is in the first slot of team 2).
In the triggers i' using a loop from 1 to 8 to detect the players in game and create the teams accordingly, so, at the moment, my trigger will set the two players of the above example in the same team (as the game still consider player 2 as 2 )
Hi,
in my new map there are two teams of four players.
In the bnet lobby i managed to display the two teams, with four slots each.
Now the problem is this, if for example there are only two players, one for each team, the game still consider them as Player 1 and Player 2.
What i'd expect is that the game consider Player 1 as Player 1 (assuming he is in the first slot) and Player 2 as Player 5 (assuming he is in the first slot of team 2).
In the triggers i' using a loop from 1 to 8 to detect the players in game and create the teams accordingly, so, at the moment, my trigger will set the two players of the above example in the same team (as the game still consider player 2 as 2 )
How to solve this ?
ty
1.) Search function. This has been mentioned a million times at the very least here on mapster.
2.) Use the "Player on Team" function to get exact lobby locations.