Hello. You might not have fully understood from the title, so I will explain in detail. First of all, in my horror game, I want the door behind us to lock after we leave the starting area at the very beginning of the game, and I want us to never be able to return there again. By “light above the door,” I mean the kind of light I will leave as an example image below. I am using version 5.4 and Blueprints; I am not using C++. If you can help me, you would really save me.
Hey @Aethertome!
This would be done in the level blueprint. You should have an overlap volume set up for the player to overlap, and when they do so (using “On Actor Begin Overlap (Collision volume)” ) get the door actor in the world and rotate it to the degree it needs to be rotated.
As part of that overlap event you can also have a light added to the scene and use “Set Intensity” to change the amount of light a light is giving off.
Unfortunately, it might be hard to find a tutorial for your use case as these concepts are covered in most beginner tutorials, but if you look up individual concepts like overlaps, level blueprint events, et cetera you should be able to piece together how to do this relatively quickly! ![]()
