Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Help
»
TDM- Sort Weighting.
« previous
next »
Print
Pages: [
1
]
Author
Topic: TDM- Sort Weighting. (Read 345 times)
Jubel
October 28, 2010, 07:56:56 PM
I am just curious to know how this works. I am making a gamemode that requires 1 person on 1 team, and the rest on the other.
Ad Bot
Advertisement
FOX TAIL
October 28, 2010, 07:58:05 PM
I guess that would work but I think it makes a max on each team but I may be wrong
FOX TAIL
October 28, 2010, 07:58:26 PM
Sorry for 2nd post but try setting it to 1
Kalphiter
October 28, 2010, 08:00:55 PM
%singleteam = getRandom(0, clientGroup.getCount());
//pick any random player
for(%a = 0; %a < clientGroup.getCount(); %a++)
if(%a != %singleteam)
//add clientGroup.getObject(%a) to the team
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Help
»
TDM- Sort Weighting.