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"

Day-night cyrcle follow OS time

Hello I found many tutorials how can I do day-night but I didn't find how can I use OS's time to change day-night cyrcle. I found many as increase numbers in float and so on... I want so: For example, if on my computer/windows/linux has 4 o'clock then in game shows 4 o'clock lights.

Thank you in advance for your response. :)

Product Version: UE 4.14
Tags:
more ▼

asked Dec 09 '16 at 11:56 AM in Blueprint Scripting

avatar image

MrAlicard
40 6 7 11

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Thank you Speckulous your answer, but it is very hard level for me. So I found this tutorial: https://www.youtube.com/watch?v=r94AEtPc9zQ and I made a little change in this.

I use this with Victory Plugin. Here is my result. :)

alt text

canvas.png (212.4 kB)
more ▼

answered Dec 09 '16 at 02:46 PM

avatar image

MrAlicard
40 6 7 11

(comments are locked)
10|2000 characters needed characters left

Referring to the docs you can use FDateTime.Now() in c.

It's not nativly in BPs afaik, but you can implement a c class which gives you a BP with the time. click

more ▼

answered Dec 09 '16 at 01:11 PM

avatar image

Speckulous
530 22 10 35

(comments are locked)
10|2000 characters needed characters left
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