How to make barriers completely disabled for 1 team

how to make it so that for 1 team the barriers were visible, and for them Collisions were enabled, and for the other vice versa.

I am making a game like for 2 players, in which you need to step on your color, if the color is not yours (there are 2 colors, red and blue) if the red player stepped on the blue, he falls, and if the blue stepped on the blue barrier, then he was able to stay on it

2 Likes

Make the barrier scope team.

1 Like

Set the barrier scope to “team”
the input only triggers the activation/deactivation for the one triggered the wire output
you can do some stuff with it!
If you want it to be preset, try using relays.

2 Likes

i did

I also need the barrer to disable Collision (does this also work if you enable team scope?)

Make sure the barriers scope is set to team. Then use a relay device and the scope set it to specific team. Wire it like this
When relayed → activate barrier.

1 Like

No, it will just make so you can go through it.

1 Like

where can i choose a team?

I feel so awkward lol I’ve just never used scope :see_no_evil:

Wdym by that?

1 Like

Okay so put another barrier without collision.

That would be in the barrier settings

1 Like

image

1 Like

ok thanks for your help give me some time to check

1 Like

Use a relay device and make the setting likes this.
image
Just change to the team you want.

3 Likes

Did it work?

1 Like

I am such a not smart creature that I JUST DON’T UNDERSTAND HOW TO DO THIS.

In my defense, I’ll say that I’ve been making single-player games my whole life
:nerd_face:

Okay, let me show you an example then.

1 Like

Lets say you want all the players on team 1 not able to use the blue barriers. Get a relay device and make the settings like this.
image
Next set the barrier scope to team.
image
Now copy the same barrier as many times you want.
Wire the relay to the barrier like this.

1 Like

Oh, I forgot 1 thing, add a life cycle (Don’t change the settings) and wire it to the relay like this.


And connect the relay to the certain barriers you want to not be used by a certain team.

1 Like

Or, you could make a wire repeater off a lifecycle(set to watch for gamestart) that blocks one certain team.
On the lifecycle, it would deactivate a barrier.
That’s a more memory efficient and simple way to do it.

1 Like

That would not work, it would deactivate the barriers for everyone. We just want it to deactivate for a certain team.

2 Likes

Oh, it’s simple then! You just have it deactivated on gamestart, but only for all other teams except one. That’s what the wire repeater is for. Then, it will block the gamestart channel for that one team.
Edit: Oh, it’s actually the opposite, it only works to block every other team except one, so make it deactivated on gamestart but when receiving on the channel for only team 1, activate it.

1 Like