Page 1 of 1
Force the player to only play on one team?
Posted: Sat Jun 24, 2017 12:05 am
by SkinnyODST
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.
Re: Force the player to only play on one team?
Posted: Sat Jun 24, 2017 3:58 am
by Spiret
ForceHumansOntoTeam1()
Re: Force the player to only play on one team?
Posted: Sat Jun 24, 2017 6:57 am
by SkinnyODST
Spiret wrote:ForceHumansOntoTeam1()
Ah yes of course! Thanks!
Re: Force the player to only play on one team?
Posted: Sat Jun 24, 2017 9:50 am
by thelegend
In case you want to force them into CIS or team 2 in general, use this: ForceHumansOntoTeam1(0)
Re: Force the player to only play on one team?
Posted: Mon Jun 26, 2017 1:33 am
by SkinnyODST
thelegend wrote:In case you want to force them into CIS or team 2 in general, use this: ForceHumansOntoTeam1(0)
Oo I thought it would`ve been ForceHumansOntoTeam2(), but I guess not, thank you!