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"

Replicating day/night cycle

I need to make a day/night cycle in a level that works in a co-op environment (up to 4 players). I currently have a working looping timeline that drives the transform on the sun (direction light) and fires an event 4 times a day that updates the "time of day" enum variable (morning, noon, dawn, night). Problem is that I've set it up inside of the level blueprint I'd like to know how to go about replicating this. Thanks!

P.S. If needed I will move the timeline out of the level blueprint.

Product Version: UE 4.21
Tags:
more ▼

asked Jan 11 '19 at 05:02 PM in Using UE4

avatar image

X-perto
3 1 2

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

1 answer: sort voted first

why do you need to replicate this? is it critical for gameplay?

I think the only thing you need is to replicate some starting value once, and let clients to proceed full cycle from that start.

more ▼

answered Jan 11 '19 at 05:32 PM

avatar image

redbox
4.2k 79 15 101

avatar image X-perto Jan 11 '19 at 06:23 PM

I do need to replicate this, it is critical for gameplay.

(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