Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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!

Product Version: Not Selected
more ▼

asked Nov 12 '17 at 08:44 AM in Blueprint Scripting

avatar image

52 6 11 22

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first


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: https://www.youtube.com/watch?v=EM_HYqQdToE

more ▼

answered Nov 12 '17 at 08:57 AM

avatar image

7k 143 28 172

avatar image MarsMiner Nov 12 '17 at 09:19 AM

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

Then, in my character blueprint I did the following: alt text

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.

avatar image Nachtmahr Nov 12 '17 at 09:26 AM

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

avatar image Nachtmahr Nov 12 '17 at 09:26 AM

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

avatar image MarsMiner Nov 12 '17 at 09:55 AM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question