I’m encountering an issue with one of my Blueprints in Unreal Engine, and I’d like to seek your assistance in resolving it. Allow me to explain the situation:
I have a character with a component named “[A]_Contre.” I’ve connected an “On Component Begin Overlap” event to this component, which sets the “AContreBool” variable to True.
Additionally, I’ve linked the "On Component End Overlap" event to “AContreBool” to set it to False when the overlap ends.
However, when I press my InputAction “Shoot,” even after setting “AContreBool” to False through “On Component End Overlap,” the Print String associated with my InputAction still returns False.
It’s evident that the variable is correctly set to False after the “On Component End Overlap” event.
However, there seems to be an issue when using my InputAction. Can you assist me in understanding why this variable doesn’t appear to be recognized when using my “Shoot” InputAction?
In essence, around the player, there are four zones, and depending on the player, I hide certain of these zones and cancel their Overlap Events, and it’s working.