Random Spawn each time?

I would like my player character to spawn at different locations each time the levels starts. But I am finding nothing on the web to do this. The closest I can find is THIS. But it honestly doesn’t make sense to me. I’m not good using BP or code. I tired myself, but this is what I came up with

Your player Character gets created automaticly if you setup your Game Mode correctly. Simply Teleport to Location of one of your Target Points (you got the Random thing right already). The way you got it now it will Spawn a new Character but you never possed it.

And just to be sure Connect the Wires (white) I assume you left them unconnected for Demonstration purpose :stuck_out_tongue_winking_eye:

For my game mode, I set the playable pawn as a character. Because I’m going to make my game multiplayer where players pick their characters. I’m just making sure this works with one character so far. But the problem is that the character’s HUD displays, but not the character, and it’s always in the same location.

That screenshot looks like a very old version of UE, perhaps you already solve it, I´m developing same custom ¨spawnpoint¨ if you like… What I learned is:

(try it in this order)

  1. Collision override be sure is set to “Always spawn, ignore collision”, otherwise will likely fail if something is colliding destination, and I think If that happens, it will set 0,0,0.

  2. If you are spawning players in the level “BeginPlay” that will not work, or will work for the first time only, if you need to respawn will not work. Perhaps you could try another event to spawn the player? i’m wondering if your targetPoints are created at that moment, and perhaps that’s the reasson why you don’t have a location, because they are not created YET. My suggestion, create a HUD to spawn your player, this hud can be added to your controller, to decide when and where to be spawned (in your case randomly, but you could also provide a list of possible spawn points like battlefield…)

  3. Are you already working in server-client game? Be sure you are assigning random and transform in server side only, if you are running 1 instance then it´s server, it should do what you expect.

  4. SpawnActor → Owner does’t look right to have the spawn point, I usually assign there a controller, probably will not harm if you leave that.

I honestly think 1 and 2 will solve your problem.

Good Luck!