Announcement

Collapse
No announcement yet.

Different team spawns?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    #2
    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.

    Comment


      #3
      Thankyou for your quick reply

      Comment

      Working...
      X