I am creating a map and finishing the hero selection atm.
Where I can not pass is the following:
there are 2 teams, team 1 and team 2 for example, no team side is set for each player at the beginning. Everyone has to select one hero. based on what hero they select (kinda like good and evil), they will be moved to a team (team 1 for picking a "good" hero, else team 2). BUT there has to be a minimum of 2 players on the "evil" side. If no1 picked a hero from the evil side, two players of all active players should randomely be choosen to be 1 of the 2 evil heroes and be set to team 2.
How can i do this? For me it was nearly impossible to figure it out how to do it by now and I was spending hours already..
Hey guys
Having another question.
I am creating a map and finishing the hero selection atm.
Where I can not pass is the following: there are 2 teams, team 1 and team 2 for example, no team side is set for each player at the beginning. Everyone has to select one hero. based on what hero they select (kinda like good and evil), they will be moved to a team (team 1 for picking a "good" hero, else team 2). BUT there has to be a minimum of 2 players on the "evil" side. If no1 picked a hero from the evil side, two players of all active players should randomely be choosen to be 1 of the 2 evil heroes and be set to team 2.
How can i do this? For me it was nearly impossible to figure it out how to do it by now and I was spending hours already..
@Yunishaa: Go
Players can be referenced by integer so just choose a random integer
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
Ah there was the key, simple as that. Thanks:)