Download

Change Default Pawn at lavel beging event in Game mode

I’m having a little problem, i have 8 different character blueprint and every time i set one of them as default pawn in the game mode panel, in order to spwan it at the begin of the level.
My question is: there is a way to change the default pawn at level begin using the blueprint? I do not want to use the posses logic, during the game there is no way to change the pawn class, i just want to decide it at the level begin, but i want to do via blueprint.
I tried the command in VR game mode “set default spawn class” but it doesn t work.

Thank yo uin advance for your help.

Override GameMode’s GetDefaultPawnClassForController Blueprint function.

You made my day friend… I was getting crazy… Thank you a lot.