How to avoid spawn multiple actors on start?

Hi, I’m a started to UE4. Currently try to figure out the spawning process of the game/on start of a game.
Using ThirdPerson c++ template in 4.9 to show my question.

As we all see, open a fresh,unchanged 3rd person template project will give you a first-person character(blueprint) as a pre-put character in the map when you hit “play” button. Also, in gamemode, the default pawn is this first person character(blueprint). Because the playerstart and the pre-put character’s positions are different, when you delete the character in map(don’t save), engine will generate another character in the position of playerstart, which is still good.

Here is the problem, if you save the map(CTRL-S) after you delete the original pre-put character, and you put another new blueprint character into the scene(and I also can’t redo the delete action when I have saved the map). Then you hit play, you will see youself on the playerstart position, and another player which is the newly put one, in the game.

So I guess there should be a function “AmPawnAlreadySpawned” or a reference or something but I can’t find it. Anyone can help, really appreciate that. Previously I guess it will search for the scene to see whether there is a spwaned same type of pawn, but it looks like the deleted original character break some reference so it generate another character, ignoring the newly put one.

Thanks.

What may be happening is that the placed character’s Auto Possess Player property is set to “Player 0” (under the Pawn section). Which makes the player one to automatically possess that character instead of spawning a new one.

When you add a new character to the level, this new character’s Auto Possess Player property is set to the default value, which is “Disabled”.

I hope this is what you were looking for, If I understood you correctly.

Thank~~~ What I am looking for. UE4 has a lot property to get familiar. Thanks again.