Hello, I have a problem trying pass a boolean from MyCharater Blueprint to MyHUD Blueprint … I set all like the map “Blueprints_Advanced” from the exemple project “ContentExemples”. But when my Boolean switch to true on my character blueprint, in myhud blueprint the event stay false … If someone can help me !
Tank you but this doesnt help, i realy realy dont understand how interfaces works… I dont understand why in my exemple that doesnt works i did exatly like the exemple, set up the interface well ect… Is there a tuto who show exaclty how to set up de whole think? Not just 2 screenshots of only one blue print.
In your HUD Blueprint, set your On/Off boolean variable to receive the IN input from your Detection Interface Node (this is inside the HUD Blueprint, you’ll need to create an Out pin inside the actual Detection Interface Blueprint).
The On/Off boolean inside your HUD Blueprint will now receive the On/Off In settings from the Detection nodes inside the Character Blueprint. Anytime it changes in the Character Blueprint, it will change inside the HUD Blueprint with this setup.
Note that you do NOT need to use an interface in this case. You could call ‘Get HUD’ and then Cast that to your particular HUD BP (MyHUD) and then access variables and fire events!