How to specify the place where a player should appear when moving a player to a new map
How are you changing maps?
If you’re just using the default player and game mode, then you just put the player start where you want it.
I use Open Level to move the character to another map, but using start player does not really help me because you can go to the same map from different sides, like in metroidvania.
Ok, so ‘open level’ just opens the new map, and everything you have going on ( variables etc ) is thrown away.
The only two things that remain intact after an ‘open level’ are the game instance, and the save game.
If you only need to get to the new map, and you want to specify a location, then I would recommend the game instance.
You can store the location you want in the GI, use ‘open level’, and the read the location from the GI, and move the player there. The player would probably do this themselves.
Thanks. I assumed to do exactly that, but I thought there was an easier way.