Gametype Spawnpoints

I’m working on a Deploy Screen overhaul, but run into a bit of a problem when trying to spawn a player. I can spawn a player with the desired weapons and gadgets, but I’m not sure how to spawn the player like the regular Deploy-button would. It should spawn you at a random spawn point of the current gametype/map.

Any help is appreciated.

spawn work differently in different game modes.
for random spawn points (like in deathmatch) you need to set the FREINDLY ZONE areas in your mod or the spawns will not work.

conquest spawns are tied to HQ and capture points

That’s not what he meant.

Well there is no random spawn points in conquest or rush so… Lol