Simple Communication Between Blueprints

Hi all,

I am quite new to UE4 and am making a basic game based on the first person template. I wish to add fall damage and have successfully created the blueprint code (in the character blueprint) to detect when to take fall damage. I now want to be able to send a message from the character blueprint to the HUD blueprint when fall damage is taken. All of the ways I can find on the internet to communicate between blueprints use nodes that I just can’t get and are very complicated. Is there a simple way I can call an event in the HUD from the character?

Thank you very much!

Thank you for quick reply! I am using the HUD class. This is the code I made in the HUD class:

219904-blueprintsproblem0.png

Then, in my character blueprint I did the following:

But, when I dragged off the As Hud pin, I could not find the Hurt function anywhere. What am I doing wrong?

Thank you for your help.

Depends.

If you use the HUD class: Get Hud->Cast to YourHud->Call anything thats in the hud.

If you created a Widget: Save the Widget in a Variable afterwards. Get the Variable when you need it → Call whatever is in your Widget.

I explained you direct Communication here but if you want to know about all the ways how to Communicated between BPs in general I highly recommand you this Training Video it covers them all and is explained very well: Blueprint Communications | Live Training | Unreal Engine - YouTube

The Popup is Context Sensitive :stuck_out_tongue_winking_eye: https://i.imgur.com/Azk9QFz.png

Also make sure you Cast to Your HUD class not the Base Class. Thats it.

Thank you so much! I have got it working now. Your help is greatly appreciated.