Player starts at character position ignoring the PlayerStart Actor

Check that the character in the map doesn’t have “Auto Possess Player” set. if your character is set as the Default Pawn Class in your gamemode you don’t need to add the character to the map. One will be spawned for you at the player start.

HI. A rookie here. My very 1st question.

I’ve manually added a FirstPersonCharacter to my level and it’s working ok, but game starts at the position I leave the character, instead of using the PlayerStart Actor in the scene.

I’ve checked

  • I’m not starting from current camera location (Play menu)
  • PlayerStart actor is at clean position, no collisions.
  • Default game mode is FIrstPersonGameMode (Project Settings)

Any clue?

Thanks!

Thank you!

I made a lot of tweaks and changes in the FIrstPersonBP I had in scene, and I thought I’d lose that work if I deleted it. Luckily, new spawned character inherits that tweaks.

Thanks a lot!:

Well, I did break something, actually.

My tweaked FPC had an Instance Editable variable, and I had to select the character in editor, and manually set that variable to make everything work.

The auto-spawned FPC inherits all my changes but now I have no details panel.

I’m trying to Set it in the FPC event graph. but If I drag that variable the “Set variable” option is disabled, I can only get its value. I can not set a default value, neither. “Editing this value in a Class Default Object is not allowed”

I’m quite lost. But not a big problem, actually. Until I learn to manage variables, I can go back to my “on-scene” character and position it instead of using auto-spawn and PlayerStart Actor.

Awesome! Happy it worked out. Could you accept my answer?

You can set the default value of that variable in blueprint editor via Class Defaults, or by clicking on the variable in the bottom left and going to the details panel on the right

"You can set the default value of that variable in blueprint editor via
Class Defaults, or by clicking on the
variable in the bottom left and going
to the details panel on the right "

I’ll check this weekend, after re-reading / re-watching some docs and videos about variable management, classes, and sharing info between BPs, functions, etc. I’m still head-scratching for every step I take, you can see.

Thanx again, GrumbleBunny,

" Could you accept my answer?"

How can I do that? I’ve upvoted it, but it seems you mean some different action.

1 Like