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
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.
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.
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.
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.