Hi everyone. I’m trying to figure out the simplest way to create an icon which toggles day/ night (or even better 3-4 different times of a day). I have created the widget and the icon which is shown when I start the level, but I don’t have an idea how to link it with UDS. Also, I learned from the past that even when I do succeed in something, it is usually overly complicated. If by any chance you could provide a picture of the nodes used, that would be great. Thank you all in advance.
UDS has a function for setting time of day. In your event graph, drag off an execution pin, untick the context sensitive filter option and look for Set Time Of Day - UDS in the ultradynamicsky category.
In the event graph of the character BP, UDS’s BP or in the widget BP that will control the time of the day?
Should work in char or a widget as long as there’s a uds actor in the level when the function is called.
ETA: yep, works fine in a widget.
Tried it using flip flop to cycle, but regardless of the time I set in the node, it just goes all dark and doesn’t return light.
Post a screenshot of teh logic and maybe we can help figure it out. What kind of values are you using for the time input? The system uses 0-2400, so if using something like 1.3 for the time, it’s still gonna be dark outside since it’s like one minute past midnight.
