is there a possibility to get the current ingame time? Or to get whether it is day or night.
I'm trying to build a house that changes in the night.
Thanks for every help.
Event SomeEvent() If IsDaylight() ; Daytime code Else ; Nighttime code EndIfEndEventBool Function IsDaylight(Float afTime = 0.0) afTime = (Game.GetForm(0x00000038) As GlobalVariable).GetValue() If afTime < 6.0 ; 6am Return False ElseIf afTime > 18.0 ; 6pm Return False Else Return True EndIfEndFunction