Oh… thanks. I was able to create a new Input where I accept the HitComponent thingie.
However… in the meantime I took my “Big Doors” outside the main actor so I’m working on them separately.
And I’m on another problem.
1.
As you see. When I look at my doors, I Enable Input. If I press E, I will Open by doors. If I press E when the doors are already Opened, I will close the doors. Pretty cool.
My problem is that … when I look away the Enable Input still remains active, and if I press E again… I will trigger that event again.
I only want my events to happen when I press E when I look at** that **object.
2.
Is there a way to send variables info between blueprints?
For example. I have a BP … let’s call it “MainActor”. When I get into a collider in that “Main Actor” I want to check of DOOR 1 is still open. If it is open, I want to close it.
Also, I have another variable in the door that checks if the door can be opened or not. This MainActor after some events, I want to “unlock” the Door 2.
How can I send variables between actors?
Thanks