Team Assignment
Description
The ‘2 Team Assignment with Ratio’ template stamp automatically creates two teams and assigns joining players based on the ratio and current players. This ratio defines how many players are assigned to Team B per player assigned to Team A.
For example, a ratio of one will create balanced teams, while a ratio of three will aim for a distribution of 1v3, 2v6, 3v9, etc.
The stamp will also always prioritize teams that have fewer members than expected due to players leaving during the game, assigning new joiners accordingly.
Where to find it
Stamps > Public Stamps > Team Assignment
Instructions
- Customize Stamp Variables.
- Place Player Spawn Point nodes and set their Team Id attribute to the team Ids defined in the stamp variables (Alpha and Bravo by default).
Requirements
The stamp works in any type of Arc, and when used in Games/Games with a Lobby it will work with Default and Manual modes of the Spawn System. However, the logic does not include player spawning or respawning, so remember to build logic for spawning players when using Manual mode.
Variables
Changeable Setting | Option | Description |
---|---|---|
Team Size Ratio | Number | Number of players that will be added to Team B for each player added to Team A. |
Team A Id | String | Id/name of Team A. Optional, can be used to customize team names and reference outside of the stamp (e.g. from Player Spawn Point nodes). |
Team B Id | String | Id/name of Team B. Optional, can be used to customize team names and reference outside of the stamp (e.g. from Player Spawn Point nodes). |