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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Floating Damage Txt at Actor Location

I tried creating a function within my pickup that got the actor location and then saved it into a variable. Then onOverlap I called the function and cast it to my Hud. In the Hud I "get" the Var I set in the pickup, break it, and connect the x and y coordinates into my draw text string. The text always appears at the top left.

My goal was to create those little vertically floating dmg txts you see in many MMO's and RPGs, what am I doing wrong?

Pickup Function located in my Pickup BP alt text

Draw HUD BP alt text

Product Version: Not Selected
display_dmg.jpg (134.4 kB)
display_dmg_2.jpg (130.2 kB)
more ▼

asked Mar 29 '14 at 02:17 PM in Blueprint Scripting

avatar image

14 10 9 11

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

1 answer: sort voted first

Hi Counterpart,

You could do something like this:

alt text

Instead of drawing to the HUD, using a Text Render Component inside your Character BP which calls the text to display and feeds the value of (in my example) incoming Health or Damage applied to Overall Health.

alt text

Should get you started, I'm sure you could make it prettier than I did and have it moving, fade in or fade out. :)

Hope this helps!


bp_floatingtext.png (266.3 kB)
floatingtext.png (205.2 kB)
more ▼

answered Mar 29 '14 at 04:07 PM

avatar image

DizzyWes ♦♦ STAFF
5k 145 64 206

avatar image Counterpart0 Mar 29 '14 at 11:32 PM

Awesome, thank you very much, I am going to give that a try.

(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