Download

Different team spawns?

Hello, so what i am trying to do atm is making team spawn points so one team would spawn on the side of the map and the other on the other side thank you.

Hello Lebofly,

Please check SHooterGame example. There you can find some code to add this functionality.
You should look at classes ShooterTeamStart and AShooterGame_TeamDeathMatch.
Class ShooterTeamStart extends PlayerStart and add variable SpawnTeam to set team index. Before pawn spawns AGameMode iterate over PlayerStart’s and check spawn condition (IsSpawnpointAllowed function). In AShooterGame_TeamDeathMatch this function implemented to take into account team index.

Thankyou for your quick reply :slight_smile: