Hi All,
On my project i have many sliding door. But i have trouble making what i want exactly. Mush of the tutorial i’v seen are for automatic door and such, or even use Matinee. Even if it’s easier and quicker. I don’t want to overload the project Blueprint with doors script.
So This is what i try to get :
1- Player open the door by pressing action button while looking to the switch.
2- Door open with sound
3- Player can close the door by pressing again the switch or run away and the door close automaticaly
Adding to that, i wish to add a littl option to the door, make them lockable, i mean there’s a lot of door that lead nowhere for the moment, because i haven’t made the room behind. And also i wish to add a inventory system so the player would have to look for the key. So is it possible to make a thing so the door is locked.
And her is the script i’ve done :
So basicaly the door open even if you don’t look at the switch, and it can’t be closed manually. The door close only if you get ou of the collision Box.
I also have another door wich is a double door. And i haven’t yet make it work.



