SeasonGet
This function was added in DSL 10
Description
Gets the current season, primarily used by timecycle functions.
function SeasonGet() --[[ ... ]] end
Parameters
None.
Return Values
season: number
| Number | Season |
|---|---|
| 0 | Summer |
| 1 | Autumn |
| 2 | Winter |
| 3 | Spring |
Example
local TC = GetTimecycle(ClockGet(), SeasonGet(), WeatherGet())
if type2(TC) == 'timecycle' then
-- do something
end