Possess on join

Sorry if its not understandable. i get lost on my own BPs sometimes. ill try to explain how i would simplify my example to your needs (this explanation will differ a lot from the screenshot, so try to picture this first, then see the screnshot again):

  • you could start with an Event beginPlay. you get all the actors of class PlayerStart, lets assume (contrary to my example) that you have 4. store that into an array inside the Gamemode BP.
  • on this same blueprint, you have a variable CurrentPlayerStartIndex.

All this will be on 1 same event (Event onPostLogin):

  • Event onPostLogin is a built-in. after a client logs in (the switch is pretty unnecesary, this happens in Gamemode anyways) you can just get the PlayerStart on Index == CurrentPlayerStartIndex.
  • Increment 1 to the CurrentPlayerStartIndex.
  • After you got the PlayerStart, do a SpawnActor of the class you want (assume FirstPersonCharacter class). you use the transform from the Player Start.
  • Take the reference and do a Possess (Target is the initial reference from Event onPostLogin)

and that should be enough if you wanna cover the basic. why i did so much bullsh…optimization on mine? its only for 2 and i want it to be like that…player 1 on spot of player 1, player 2 on spot of player 2. this explanation above sets the players depending on who logs first.