How to spawn player to level from widget?

i’ve created the main menu widget and in start button i make it open level to the level that i want. the question is there a way to add my selected player to that level i select? i use that blueprint to open the P1 level, so anyone know how to add different character when i play it?

104382-problem.jpg

Have you tried casting to the game mode that particular level is in? Are you trying to add a different character dynamically?

yeah, i’m trying to add different character dynamically. if you can give me some blueprint example to do that maybe that will help me

i’m creating select player button, so i want the button to open the level and spawn different player that i have

Would love to know answer to this too, got very similar issue: Wait for open level? Spawned pawn vanishes - Character & Animation - Unreal Engine Forums

Hi,

when the map loads everything is resetted.

You have to store the information within the game instance which player you want to spawn. In you level blueprint you can then access this information and spawn then your specific player.

(I would do it this way)

Kind Regards

freakxnet