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"

Update HUD draw text at 1 second intervals

In my blueprint HUD I'm trying to slow the drawing of text on screen to 1 second intervals, rather than every tick. However I'm not quite sure how to do it. Set Timer seems to be the way to go, but that's looking for a function.

Product Version: Not Selected
more ▼

asked Mar 16 '15 at 01:48 AM in Blueprint Scripting

avatar image

732 41 38 60

avatar image eXi Mar 18 '15 at 12:49 AM

Haven't worked with the Canvas in a long time, but can't you just create a function in the HUD blueprint that fits your needs and call the timer on it?

:X Or was it only possible to call "Draw Text" from the Main Draw node?

avatar image jmalaska Mar 18 '15 at 02:06 AM

Unfortunately you can't add a delay timer to a BP HUD even inside a function :(

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

4 answers: sort voted first


I was able to reproduce the issue with the delay and the timer. I have written up a report (UE-25253) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. I have also provide and example of one workaround that I was able to come up with. I hope that this information helps. Thank you for your time and information.


I was able to create a loop with a delay that opens and closes a gate so that the delay is not directly connected to the Event Receive Drawn HUD event which was causing an issue with drawing the texture.

alt text

Make it a great day

more ▼

answered Jan 12 '16 at 04:10 PM

avatar image

Rudy Q ♦♦ STAFF
47.3k 545 132 525

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

Try using a "Delay" of 1.0f

more ▼

answered Mar 16 '15 at 07:17 PM

avatar image

21 2 5 4

avatar image jmalaska Mar 18 '15 at 12:20 AM

Thanks for the reply. Delays don't seem to work in the HUD Blueprint at on the Draw Text node. They work on regular Print String nodes just fine though in the same HUD Blueprint. Not sure why that is though.

avatar image PixelTwitch Mar 18 '15 at 02:14 AM

Could you not have a switching bool based on a timer via the pawns tick event?

avatar image jmalaska Mar 18 '15 at 02:44 AM

Possibly but I'm not that deep yet to really understand. Do you mind explaining a bit or pointing me in the right direction?

avatar image jmalaska Mar 18 '15 at 02:46 AM

So this seems really convoluted but I'm just getting the variable on a delay from the Player Controller instead. Then I cast from the HUD BP into the Player Controller. This doesn't actually answer my question as to how to do it directly in the HUD BP itself (either by delay node or otherwise). But it'll do for now I guess :)

alt text

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

I thought more about something like this:

Create a functioned, for exampled called "DrawMyTestString", in your HUD Class.

Create your draw text logic here:


Now, in the Event Graph of the HUD Class, call a timer with 1.0f Second delay and "looping" ticked. Give this Set Timer Node the Name of the function you have created:


This should totaly do what you want :X

Can't test it though, because i'm missing a font.

more ▼

answered Mar 18 '15 at 09:38 AM

avatar image

6.8k 333 185 470

avatar image jmalaska Mar 18 '15 at 03:49 PM

Thanks for your response!

I couldn't get this to work. Even with doing a simplified function (Func start -> Draw text). It looks like Set Timer (like Delay) doesn't work as a HUD event. Which is really weird. Maybe the timing events just aren't built to work with the HUD BP?

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

isnt there a way of creating a material that can cycle textures on a timer, then you can load that into the hud through i widget?

more ▼

answered Feb 21 '17 at 01:09 PM

avatar image

11 3 9 14

(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