Author Topic: How does the minigame team sort mode "Fix" work?  (Read 426 times)

How long is it until it sorts people randomly out of nowhere? I need info on how it works for this sneaky tdm I'm making and I want to know how long the round should be.

Fix doesn't "randomly sort out of nowhere." It always moves people as necessary so that the teams are ALWAYS even, with only the occasional difference of one.
as such, say you have a 5v5 goin'. somone leaves, so it becomes 4v5. nothing happens. however, ANOTHER person of the same team leaves, so it moves a randomly selected person from the other team onto that team so you have 4v4, and it's fair again.
i don't recommend using it because people always complain because they're stupid.

to make it randomly sort people, you can have on the spawn area of team 1:
Code: [Select]
0 0 onplayertouch>client>setteam[2]
1 0 onminigamereset>self>toggleeventenabled[0 1 2]
2 250 onminigamereset>self>toggleeventenabled[0 1 2]
that way it mixes up everybody on the teams, best with a baseplate under the spawns, and the spawns are uncolided

There isn't really a time limit on it either. When a player joins, it balances the teams out. When balanced, it puts the next player on team 1, then balances and so so.

Fix is the same as sort, except that you can't swap teams with /jointeam <name>.

Do what phflack said.

you can also make /jointeam <name> disabled in sort