Activate a trigger that activate the trigger of a door
I'm not sure that many people will understand my title so here my problem: I'm actually create a simple level in UE4 in a spaceship who will be playable and in it, I decided to lead the player to a door, but there's no power. He has to search for the electrical panel and activate it to restore the energy.
I create the blueprint for the door but I don't know how to create a blueprint for the electrical panel, that will activate the BP of the door.
I'm sure it's not complicated, when I press a key close of the electrical panel, it will change an condition in the door BP but I can't find it.
Does anyone know this ? Thanks ^_^
asked Mar 19 '17 at 08:25 PM in Blueprint Scripting
OK so add a onlap thing and when the player clicks a button: it gets the doors blueprint and actives a bool that when is true will make the door do what ever you want. Tell me if this works?
answered Mar 20 '17 at 02:05 AM
I thought another way to do it but, like I'm no programmer and I don't know how to do it. Here what I think of:
To test it, I simply create two light with different colors and when I press E it will change the first light, active the boolean and change the 2nd light
But it doesn't work and I hate it because it's so simple, anyone know how to do it ? (and also import a variable from another BP ?)
answered Mar 21 '17 at 06:29 PM
I try but I can't do it. I manage to link the two blueprint, but It doesn't care where I press E. Front of the door and in the trigger of the electrical panel, both open the door.
I can't manage to create a condition that will "enable" the BP of the door
answered Mar 27 '17 at 03:57 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here