Author Topic: One way Doors  (Read 1311 times)

I think there should be one way doors/bricks in blockland so people woudn't be able to spawnkill. I couldn't find any when I searched on the forum.

You could use those zone brick things that act like one way things, they're the right size for a door as well.

K I will test those out when I get home but I heard that they are extremely glitchy or laggy or something.

The zone ones launch you around n stuff.

The zone ones launch you around n stuff.

I just want a door were only a certain slayer team can enter.

Teleport doors work, just make sure the end is unrendered with raycasting off and no collision.

If I get you right.

Place an invisible but colliding and ray casting brick on the side you don't want people to enter which then blocks the door brick. Add event to the door that makes the invisi brick disappear for as long the door is open. or idk

Delay: 0 <onplayertouch(team1)> <self> <setcolliding> 0
Delay: 300 <onplayertouch(team1)> <self> <setcolliding> 1
Congrats, you now have a brick which only team 1 players can walk through!

If you want, set rendering off and add these events:
Delay: 0 <onplayertouch(team2)> <self> <setrendering> yes
Delay: 100 <onplayertouch(team2)> <self> <setrendering> no
It'll make it look more force-fieldy.

Delay: 0 <onplayertouch(team1)> <self> <setcolliding> 0
Delay: 300 <onplayertouch(team1)> <self> <setcolliding> 1
Congrats, you now have a brick which only team 1 players can walk through!

If you want, set rendering off and add these events:
Delay: 0 <onplayertouch(team2)> <self> <setrendering> yes
Delay: 100 <onplayertouch(team2)> <self> <setrendering> no
It'll make it look more force-fieldy.


Still not 1 way.

Uh, yes it is. Think pressure plate doors in minecraft.

Uh, yes it is. Think pressure plate doors in minecraft.

I don't play such games.

If I get you right.

Place an invisible but colliding and ray casting brick on the side you don't want people to enter which then blocks the door brick. Add event to the door that makes the invisi brick disappear for as long the door is open. or idk
^^

make a 1x4x5 brick with no rendering on one side and when you click it from the other side it dissapears for the same amount of time that it takes for the door to open


You could use zone bricks and VCE
Onplayerenterzone check with VCE the players velocity to figure out which side they're entering from. Then if they're entering from the other side make it so they get pushed out again.

Or you can just use force gates. I think that would work too