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"

Is there a way to put your computer's time into the game?

I am making a game and wanted to put a Security Camera in the game but was thinking about the time they sometimes have in one of the corners. to I thought to my self asking how could I get the computer time and put it on the clock. so I don't have to put in a bunch of nodes making a clock system for a widget. any help would be appreciated.

~Thanks in advance!

Product Version: UE 4.12
Tags:
more ▼

asked Aug 22 '16 at 02:55 PM in Blueprint Scripting

avatar image

TuXsOrDs
116 9 10 18

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

2 answers: sort voted first

There is a node, Now, that returns the current time and date. Then you just have to format it. For example, the following Blueprint:

Produces the following display:

Which updates in real time.

more ▼

answered Aug 22 '16 at 03:29 PM

avatar image

Thebluefish
236 6 16 15

avatar image TuXsOrDs Aug 22 '16 at 03:38 PM

Thank you for this. It really helped me! Much appreciated!

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

Have you tried using Now node?

alt text

asd.png (31.0 kB)
more ▼

answered Aug 22 '16 at 03:18 PM

avatar image

Atheist91
1.2k 20 23 40

avatar image TuXsOrDs Aug 22 '16 at 03:29 PM

I just tried that and It didn't work. When I had it pined to the Return value in a Text block no text was displayed.

(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