Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione statica Client Moderato

Sky.SetAnimateTimeOfDay

Sets whether or not to animate the time of day

Non ancora tradotto

Sintassi

Lua
Sky.SetAnimateTimeOfDay(animate, day_length = 30.0, night_length = 15.0)

Parametri

Nome Tipo Predefinito Descrizione
animate boolean Whether or not to animate the time of day
day_length facoltativo float? 30.0 The time (in minutes) from sunrise to sunset
night_length facoltativo float? 15.0 The time (in minutes) from sunset to sunrise