Hello, I want a solution for how to connect the door with Combination Lock. When I enter the correct code, the door opens. Thank you
- where is the door?
- where is the lock?
- both in the level?
If so:
- create a variable of door type in the lock, flag it as
Instance Editable
- select the lock in the Outliner, pick which door instance the door variable refers to
- use the variable in the lock bp to call the custom event in the door
Alternatively, bind them with an event dispatcher in the level blueprint.
Thank you. but it’s not working
Show us how you’ve done it - the 3 bullet points above. And the updated script.
Have you done this?
yes
Have you done this?
yess
If you’ve also done this. Please show a screenshot of the door variable with its value set and the way you call the Open Door custom event.
The third one, I don’t know if I did it correctly or not, and if you can explain more to me, I would be grateful
Providing you’ve done the 2 first bullet points correctly, it would look like so:
Btw, do not use Delay,
use the Finished
pin of the Timeline
.
bro Thank you very much it’s now working thank you
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.