A list of all Actions, Conditions and Expressions supported in this addon.
-
Actions
Play {my} cycle
Resume the day/night clock.
Pause {my} cycle
Freeze the current time and lighting.
Set {my} time to {0} hours
Jump to a game hour from 0 to 24.
Set {my} full day to {0} real minutes
Set real-world minutes per full cycle.
Set {my} sunrise to {0} and sunset to {1}
Set game hours for sun/moon switching. Sunrise must be earlier than sunset.
Attach {0} to {my} sun and moon
Pick a Sprite with two frames in its current animation. Frame 0 is the sun and frame 1 is the moon. The Sprite follows the light in 3D.
Detach {my} sun and moon Sprite
Stop positioning and changing the attached Sprite.
-
Conditions
{my} clock is playing
True while the day/night clock advances.
{my} is in the sun phase
True between sunrise and sunset.
On {my} sunrise
Triggered when the moon reaches the horizon and the sun appears.
On {my} sunset
Triggered when the sun reaches the horizon and the moon appears.
-
Expressions
TimeHours
Current game hour from 0 to 24.
AmbientLevel
Computed ambient target from 0 to 1. Use this expression in System: Set layout ambient light on Every tick.
LightLevel
Current multiplier of the original 3D Light Intensity.
ArcProgress
Progress from eastern to western horizon within the current sun or moon phase, from 0 to 1.
SunAltitude
Current normalized height above the horizon, from 0 to 1.