Page 1 of 1

4 reds and 4 whites

Posted: Sat Aug 12, 2017 4:09 am
by Escapamento
How do I make 4 people become the red team and the other 4 people without teams? I put 4 spawns for the red team and 4 for the white team

I would send a map to anyone who would help me

Re: 4 reds and 4 whites

Posted: Sat Aug 12, 2017 4:21 am
by KliPeH
The independent ("white") team is team zero. Every member's team number would be set to 0 in the command, like so:

Code: Select all

/setteams 22200020
The place of the number in the command stands for the slot the player is currently in (the first three players are team red, the next three are independent, then the pre-last is red and the last member in the last slot is independent respectively).

I believe all you'd then have to do is write the command into the map editor field which runs commands at the beginning of the match.

Re: 4 reds and 4 whites

Posted: Sat Aug 12, 2017 3:55 pm
by Escapamento
I also thought I had to do this. But a message appears that the command is not valid . in the map editor these commands not working

Re: 4 reds and 4 whites

Posted: Sun Aug 13, 2017 10:17 am
by Gurt
If you want to force the teams to be a specific setup in your map you must write a script to update the teams. Do this in the public void AfterStatup() function.