Ingame Days and Months

How might I go about making my Day and night cycle to at every so many months/days start an event, at a specific time, so for instance, I want my game to have a meteor shower every so many days at a specific time during the night, How might I go about this? Thanks.

Id create a class for these events and call it from game mode, using tick and counter variable set to however often, from game mode if(counter >= i) get actor of class-> meteor shower event

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:

image

UE supports operating on Date Time structures:

Be mindful of:

1 Like

Thank you for your dedicated response man, Much Love.