In my WeaponPickupBP with On Component Begin Overlap I want to set a variable (boolean), lets name it weaponInRange? to true and with On Component End Overlap I want to set this weaponInRange? variable back to false.
Now I want to use this variable in my ThirdPersonCharacter_BP, because weaponInRange? has to be true + the keyboard event P has to be pressed to do the weapon pick up.
How can I get the value of weaponInRange? from the WeaponPickupBP to the ThirdPersonCharacter_BP?