Need help Randomizing Teams

Status
Not open for further replies.

XxSleevesxX

X

XxSleevesxX

Ok, so for my map i need a trigger that will:
-Reset the teams randomly when a timer runs out
-Give Points to Winning players
-Reset all the things that were killed and put them back in their places

and
-Reset the timer that ran out
Any help will be appretiated and try to remember the fact that i am a noob. :wink:
 
To reset teams, you'd most likely have to use an integer variable for each player, then randomize them and set players with integer X to team 1, and the players with integer Y to team 2.
For it to be balanced, you could also count the number of players on each team, I wonder if there's a function specifically for that. If not, you can simply create another 2 integer variables and add 1 point to them for each player with team 1. Repeat the process for team 2.

I doubt this will be clear if you're not a good triggerer, or at least good at Maths...
 
Status
Not open for further replies.
Back
Top