Force the player to only play on one team?
Moderator: Moderators
-
- Lieutenant Colonel
- Posts: 545
- Joined: Mon Jul 04, 2016 10:56 pm
- Location: My other account
- Contact:
Force the player to only play on one team?
I have a GameMode that is meant for the player to be the Republic side, however they are able to pick the CIS side as well in the spawn selection screen. How do I force the player to only play as the REP side and not CIS? This is done in the campaigns but I had a look in Coruscant`s campaign script and couldn`t find anything that looked like it forced the player the be on the REP side.
-
- Private
- Posts: 41
- Joined: Sun Jan 03, 2016 11:44 am
Re: Force the player to only play on one team?
ForceHumansOntoTeam1()
-
- Lieutenant Colonel
- Posts: 545
- Joined: Mon Jul 04, 2016 10:56 pm
- Location: My other account
- Contact:
Re: Force the player to only play on one team?
Ah yes of course! Thanks!Spiret wrote:ForceHumansOntoTeam1()
-
- Sith
- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: Force the player to only play on one team?
In case you want to force them into CIS or team 2 in general, use this: ForceHumansOntoTeam1(0)
-
- Lieutenant Colonel
- Posts: 545
- Joined: Mon Jul 04, 2016 10:56 pm
- Location: My other account
- Contact:
Re: Force the player to only play on one team?
Oo I thought it would`ve been ForceHumansOntoTeam2(), but I guess not, thank you!thelegend wrote:In case you want to force them into CIS or team 2 in general, use this: ForceHumansOntoTeam1(0)