Multiplayer Select Point of Spawn

Hello everyone

Basically, what I’m trying to achieve is this:
I have a set of spawn points on the map. These spawn points are enabled upon one team seizing control of that specific region. Now, if I die, I want to select, from the map, where to spawn, be that in my starting spawn area (preset on game start) or, if my team has control over some checkpoint, let me chose to spawn there.

As a reference, I’m talking about a Battlefield type pick where to spawn mechanic. My team has captured point B, I die, I select that point B from the map and spawn there.

I just need some ideas and/or resources to read so I can get started.

Thanks in advance