Prevent people from going into enemy spawn area

So I’ve been making a game, basically a 2 team knockback. I have made the 2 spawn areas and wanna prevent ppl from going into a spawn on the opposite team. How can I achieve that?

1 Like

If it uses spawn pads you can change the settings to just team 1 to spawn their.

I wanna make sure that people from the opposite team don’t go into the other spawn area and spawn knockout

Do you use spawn pads or teleporters?

spawn pads, but its not the issue.

I want for people to not go into an enemy spawn area, like physically walk there.

Take a life cycle, (Don’t change the settings) and a relay.
The relay setting should look like this. Change the team to the team you want to get blocked.


Wire the life cycle to the the relay like this.

Take a barrier and change the activation scope to team and make not active on game start.
image
Personalize the barrier color.
Wire the relay to the barrier like this.

And your done!

Could you try zone that teleport the player to the other side but only work on the opposing team

1 Like

@Flames did it work?

working on it… (20 character limit)

1 Like

You could try putting a barrier over each spawn. If you spawn on a barrier, you are able to walk through it until you leave the barrier.

1 Like

Unless you want the team to be able to re-enter the spawn, you would need to do something else. I think being able to re-enter the area would be a little cheating since you could just camp and heal or something.

For some reason the barrier never disables…

You want it to disable? Im not sure what you mean.

What I mean by that, is when I start game, the barrier on the side that I spawn on is active.

Switch the team from 1 to 2 on the relay, I think that’s the problem.

What I did, is I added another relay, which deactivated the barrier for my team, but for the other team’s perspective, the barrier is active.

So did it work?

Yep, thank you. Time to mark solution.

2 Likes

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.