EnableMoonCycleOverride
DocsEnableMoonCycleOverride(phase)Description
Enable a custom moon cycle, allowing control of which lunar phase the moon is in.
Valid values are from 0.0 to 1.0, with 0.5 representing a full moon.
| Value | Lunar Phase | | :---: | :-------------: | | `0.1` | Waxing Crescent | | `0.2` | First Quarter | | `0.3` | Waxing Gibbous | | `0.5` | Full Moon | | `0.7` | Waning Gibbous | | `0.8` | Third Quarter | | `0.9` | Waning Crescent |
The moon phase can be disabled with DISABLE_MOON_CYCLE_OVERRIDEParameters
| Name | Type | Description |
|---|---|---|
phase | float | A value indicating the moon cycle. |
Returns
voidThis native does not return a value.
Examples
Official
EnableMoonCycleOverride(0.5)