How do you change level?

I’ve been having some trouble. I know the basic way of changing the level but what if I want there to be more then one entrance like a cave or a huge open world and want the player to spawn outside of the house or cave’s entrance? I tried the teleport command in the Blueprint but it just keeps taking me to location ‘0.0.0’ anyways. Is there a way to make it to where the player will spawn at a certain actor or just a certain location on that level?

Use the player start actor from the basic components list to the left of the viewport where you want your player to spawn.

You can create as many as you want and create an array of them and then do random or specified or just one.

Hope this helps
Don’t forget to accept an answer that best clears your question up or answers it so when the community finds your question in the future via search/google they know exactly what you did to fix it/get it going.

Let’s say you have one “entrance door” and one “cave entrance” that both go between the same two levels, and you want travel back and forth to go to the “right” place on the other side, then there are a few things to do:

  1. You need to create player state markers at each of the entrances. This is what Nsomnia suggests. Name each of these start points after the location – “door” or “cave” for example.
  2. You need to create a trigger volume for loading the other level at each place. Name these triggers after the location as well using the corresponding names (“door” and “cave” here.)
  3. You need to “somehow” forward the state of where the player is supposed to show up. The easiest way is to stuff the “name of the spawn point” into a custom GameState when you hit the trigger. When a level loads, it looks up the name of the spawn point in this variable in the GameState, and spawns the player there.

So:

  1. Player hits trigger volume named
    “cave”
  2. Trigger volume stuffs its name
    (“cave”) into a variable in your
    Game State
  3. Trigger volume loads the next
    level/map
  4. Inside game mode, in begin play /
    spawn player, the game mode takes
    the name out of the Game State
  5. Find a player spawn point with the
    same name as the given name, and
    spawn the player there

I’m sorry but, can you send a picture of an example?

Level Setup:

Game Mode Choose Player Start Override:

Create a custom Game State

Add Spawn Name to Game State:

Trigger Box sets Desired Spawn Point Name

Finally, don’t forget to set your game state class as the game state type in the project settings.

I did everything you showed and still the game just puts me at a random spawn point. what am I doing wrong?

Has there been any updates to this cause i cant get this to work for me