x

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. 

Drawing text to the the HUD from the level BP

I am working on a small count-down type script (triggered by hitting 'G') and wish to draw it to the hud using integer to string conversion, however I have hit a snag. every time I try to trigger it, it reaches the delay loop but nothing is displayed as planned, instead, when I exit the P.I.E and view the message log, I get the following: "Canvas Draw functions may only be called during the handling of the DrawHud event" and I guess my total question is, is there any way to circumvent this without moving everything over to the HUD blueprint? (this is my first post, if you wish for me to expand on anything, don't hesitate to do so)

alt text

Product Version: UE 4.10
Tags:
untitled.jpg (251.1 kB)
more ▼

asked Dec 23 '15 at 06:15 AM in Blueprint Scripting

avatar image

J2r9
1 1 2 3

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

2 answers: sort voted first

I solved it bit thanks to the user "Jacky" for assisting me through this process Attached pictures are the two blueprints I use to get this system to work, if you have any further questions, I will gladly answer them alt text

more ▼

answered Dec 30 '15 at 04:46 PM

avatar image

J2r9
1 1 2 3

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

Use the Player Controller BP instead of Level BP to set that Time variable. Then Get Player Controller > Cast to yourplayercontroller > Get Time in your HUD BP and draw text.

more ▼

answered Dec 23 '15 at 07:06 AM

avatar image

Jacky
16.8k 671 167 676

(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