Download

Working on something new. Day/Night Cycle checks

I’m trying to find how to check for day / night time in game.
I’ve looked a megalosaurus and Nocturnal, but I’m night finding where it just simply check to see if it is day or night and sets the BOL.

I’m probably looking for something more simple like what all the auto on off for lights and torches are using. BUT… I’m failing at searching for how that is done.
Can someone point me in the right direction?

From any Actor->K2GetWorld->GetDayCycleManager you can get DayTimeStart, CurrentTime, and DayTimeEnd.