Hi everyone!
I am relatively new to using UE5 and blueprints, and I am having trouble with making a locker blueprint, where there are 4 compartments and doors attached to one body. I want to make it so that each separate door can open and close on its own under one blueprint. But as it stands, It opens all the doors at once. Below is what the Blueprint is looking like. Any tips or particular nodes I am missing out on that could fix the problem?
Hey @cheesyhamborgar how are you?
First of all, welcome to the forum! Hope you are haveing a good time with Unreal Engine 
Now, talking about your problem, let me tell you that you will need to change a lot of things to make it work properly.
The main issue here is that you are using a Sequence node, which triggers all the code in order (in sequence) as its name says. This make all the doors open at the same time.
To create what you want (a locker when the player can choose which door he wants to open) I’d use some extra steps!
First, I highly recomend you to follow the next tutorial to create the door itself (it will be really usefull as you will be able to create any interactable object with this tutorial, not only doors):
After implementing that, you will be able to place the door on your level and create the locker in a really easy way!
Let me explain:
-
Put the door on the level and check if it works properly
-
Put your locker meshes (without the doors) on your level as well (I used some boxes tto ilustrate that, sorry for the low quality art haha):
-
Then duplicate the door as many times as needed, and fit them in your locker’s holes:
-
Check if it works properly (if the doors open to the right side), and then select all the components (the locker mesh and all the corresponding doors):
-
With all that selected, click on this icon on the top left corner of the editor:
-
Click on the option “Convert Selection to Blueprint Class”:
-
Call it “BP_Locker” for example, and choose a path to save it:
-
Now you have a blueprint you can place anywhere without any issues!
If you followed the video tutorial and this guide, you will end with something like this:
Hope this helps you! Let me know if you need any calrification!
1 Like
Hi @BRGJuanCruzMK !
I appreciate your help dearly.
It works beautifully now, I can’t thank you enough!
1 Like