Setup Player Spawns
- Exposure: public
- UE Version: 5.6
Function to be placed inside a Lobby_Manager blueprint actor.
Also be sure to setup your Begin Play inside the Lobby_Manager like this: https://blueprintue.com/blueprint/6-djbe0f/
Make sure you Expose the NumberOfSpawns integer, and the OffsetAmount float. This will allow you to specify the number of spawns you want and the spacing between each one. My system assumes a starting origin of world 0 and an offset on the Y axis. This makes it so the spawns will be facing down X, the first spawn point is at world zero, and each subsequent spawn is to the right of that, which I think fits a North American expectation.
Here's a link to the embeded ClearSpawns function: https://blueprintue.com/blueprint/ov9x62h0/
This video is provided by youtube using cookies.
See their privacy page.
ctrl + v
-
Discovered function can't be called in editor as it doesn't save the array. Switched instead to calling in on begin play.
-
First commit