Hello all,
I created a bp door using a timeline, wich is trigered by the E keyboard touch.
I duplicated this bp in my scene so I have 3 bp doors: A, B and C.
By default, in the bp graph, the door is closed at the Begin Play.
What I’d would like to achieve is to set door A to be open at the begining. I’m not a programmer and I encounters some difficulties to do it.
Should I insert a node in the bp door, or recover a value from this bp inside the level bp?
The story is : at the begining, the door A is open, while the 2 others are quite closed, and if I click on the A door, I close it. If I click on the B and C door, I open them.
I hope to be clear, and sorry for my english…
Cheers,
Etienne.
And finally each time you drop one of these new doors to your scene, you can click on the boolean variable that you created and set it to door closed or door open. So any door you put on your scene you can make it be open or closed.
Thank you Shogo,
I didn’t think about this. This would work well, but…
In my case, I need this to stream levels. I use the door like a portal : In a A level, the player click on the door (wich is closed). The new level B appear. When the level starts, the same door (same bp actor in 2 differents levels) still closed during few milliseconds, an then , it opens automatically.
I use the Custom Event node : in my bp_door, I set a custom event I call “ouverture porte” . Then, I recover this custom event in the level blueprint :