Another... I need help with how to make a door

So I need help with a door that you can open with a button outside, then it closes once you enter and then you can open it again when you want to leave with another button. So like a door?

Thanks!

P.S. I hope you have a very merry Christmas :christmas_tree::wrapped_gift:
(If you celebrate)

2 Likes

you could use barriers and activate the open/closed state and then deactivate the other one? maybe

basically what 4314 said

3 Likes

Do you want an entire guide? I can make it, but i shall take some time

4 Likes

just use a barrier and a trigger.
button pressed-----> deactivate barrier
button pressed-----> trigger
triggered----> activate barrier
[the trigger would have a 5 sec delay]

3 Likes

@cheezesRcool & @4314 I’ll try that.

4 Likes

If I can’t get this Normal way to work, yes lol!

2 Likes

It started working, all good!

So first, grab a barrier and make it a long rectangle for the door.
Then get a button and configure it however u want, but make sure it’s not visible in-game.


Just like dat!
Then take a zone/trigger and configure it.
This is 4 trigger, u might need multiple depending on how wide ur door is.

Ok, so for the zone, you can make it like this:

Okay! now wiring! First, wire button to barrier so that when
button pressed---->deactivate barrier
Then, when player enter zone—> activate barrier
Now, place a button on the other side of the door, make it invisible, and wire it so
when button pressed—> activate barrier.
That should work!
Oh and I made this guide cuz why not
Edit: or, u can make it that when the door opened, another barrier appears to make it seem like the door swung open

2 Likes

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