#Lightning cycle

1 messages · Page 1 of 1 (latest)

spiral wren
#

Lighting.TimeOfDay does not have day/night/etc properties

#

its a string

spiral wren
#

you didnt change the actual problem though

#

TimeOfDay.Day and the other stuff does not exist

#

have you looked at the documentation for Lighting?

#

well youve gotten this far so that cant be true
but still have you looked at the documentation

#

mk cause i can help you through it its just itll help a lot with explaining what properties do exist and how to use them

#

i mean i should be fine from here
but what were you looking to get from your use of TimeOfDay.Day/etc

#

well heres an idea
so you see how you have two numbers in your if statements, one as a minimum and one as a maximum?

#

try just putting those as the start/end presets

#

also i see youre calling Lighting:ApplyPreset(), this also isnt something that exists

spiral wren
#

then you can do the same for the other 3

#

not sure about a plugin but there are probably modules out there that do day/night cycles

low fog
#

@molten thorn did chatgpt write this code

#

There are modules that do night and day systems for you