So there is a question, why this gate is not working?
What I want to achieve is to be able to activate interactive element by pressing Primary Action button, but only when I’m inside the sphere.
When I enter the sphere, I correctly receive debug string “I’m in” which means it should Open the Gate, and enable flow that starts when I press the Primary Action button (I correctly receive “Input Received”) but it doesn’t go past the Gate (I have another Debug Print after that)
It turned out that while having two Actors of the same type on the scene, each of them had at Begin Play a node called Enable Input. This apparently disabled input in the another Actor of the same type. My graph with Gate should work, but only if it was alone on the level.
What I did (screen below) was to enable and disable input only when the player enter or leaves a sphere of activation of the Actor.
To elaborate a bit more on the issue: that is why I recommended changing the enable input for an interface. This is so the player character is the only class that manages inputs. Every other class should sit there and wait to be interacted with.
Enabling / disabling input will eventually become an issue because its hard to keep track.
Thanks, it is already a hard work to keep track of it. I will look into interfaces because as for now I have very little knowledge about them in Blueprints.