Door lock system
Okay so i followed the tutorial below on how to do a resident evil 7 style door system:
Now the problem i have is that i want one of the doors to be locked and can only be opened when you pickup a key. I have gone through multiple forums and tutorials trying to find a lock system which would work with my blueprint to no luck. My question is how can i implement a door lock system which will disable the doors input until i acquire a key?
asked Nov 28 '17 at 04:46 PM in Blueprint Scripting
In this place https://youtu.be/7IaWQMnRuzI?t=9m45s, between Closed and Rotate Door function, you should add test - have key or not. This should be branch. If key is true connect with Rotate Door function, if false - do nothing or Print String message "no key found".
How to add key to player inventory is another question and explanation need tutorial, but you can start from simple inventory system from Epic https://docs.unrealengine.com/latest/INT/Videos/PLZlv_N0_O1gZalvQWYs8sc7RP_-8eSr3i/ This sample project you can install from your Learn tab in Epic Launcher.
answered Nov 28 '17 at 04:57 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here