Everynone
(Everynone)
August 23, 2024, 5:48am
3
Look into tutorials addressing working with Date Time
, Timespan
and Timers
:
Run a timer that sets the pace of passage of time - like 1h/s (unless you want to use real time).
Once you have the number of seconds that have gone by, you can translate such value into a meaningful structure, for example:
UE supports operating on Date Time
structures:
Be mindful of:
Hard to tell without seeing the script but it’s easy to invalidate the date time node as it’s very specific:
[343808-screenshot-1.png]
None of the above are valid. There is no year 0, month 0 or day 0. There is no 32nd day and there can be no 14th month… #gregorianbros
this is fine:
[343809-screenshot-2.png]
but this is not:
[343810-screenshot-3.png]
There is no such thing as 60 minutes… ¯_ (ツ)_/¯
Consider the above when adding Date Time. This adds 5 days:
[343821-screenshot-4.png]
…
1 Like