Is there a way to force unbalanced teams? As in one player vs 3 players.
So before the start of the round in your game, you would set the team for each player. Select a random player and assign them to one team, and then the other players get assigned the opposite team.
local function make_teams_unfair()
local players = Game.GetPlayers()
local unfair_player = math.random(#players)
for index, player in ipairs(players) do
if(index == unfair_player) then
player.team = 1
else
player.team = 2
end
end
end
Whoa! Thanks, I was just looking to implement something similar after looking at how the Autobalancer worked.