I have a Door BP that on collision you press E and it opens up the Widget Keypad BP you input numbers and click enter, if incorrect it turns red and says incorrect if its correct it starts the custom event that opens the doors. I am able to set the passwords for each door inside the level with the variant I made and made it editable.
In my Widget Keypad BP I have it set to “get all actors of class” and I don’t know what to put in place of it or how to do it correctly. I tried creating a variable and making it a object variable for my Door BP but when I place it I get errors and it tells me the Door BP is trying to get NONE.
When I enter the correct passcode I have assigned to each door it opens the other ones.
Here is the blueprints. The Top part is the Widget Keypad and the Bottom Left is the Door BP
I have a tutorial series for multiplayer doors and elevators using interfaces if interested. Not appropriate for the current discussion/thread. I can DM a link to you.
You need to use a line trace to get a direct reference to the actor you want to interact with.
“Get All” is massively wasteful in this scenario. It should only really be used in general for one offs in which you store the results.
Yeah im not using that, getting rid of the one in my widget is what lead me to all this new to me interface stuff which looks like it will be a huge help once I get the hang of it.