I’m massive noob btw
My game is based in a house and I have each room in the house as it’s own level. The hallway/stairs of the house is kind of the main level, as you can get to all the rooms from that one area. I just used box triggers and the Open Level function to teleport in and out of the rooms. But because the PlayerStart for the Hallway level is on the bottom floor, no matter what room you exit, you teleport to the bottom floor of the house. I want to make it so if I come out of a room the Player Start is at the door of the room I just came out of. Any ideas?
You need to override the ChoosePlayerStart in your hallway level gamemode blueprint. If you hover over functions, you’ll see the override option. Select ChoosePlayerStart.
Then you’re going to have to get all the player starts and sort for the right one you want and return that. Here I only have 1 player start, so it would be 0 in my array.
You’re obviously going to need more logic for yours since you have many playerstarts in your level. You can add a tag to each player start, maybe the level name you would spawn from and then sort through the tags after getting all of them and returning that player start. You would also have to find a way to get the last level name you exited. But this should get you started
Thanks for your time and your great explanation.