GetClimate

Category: Environment / Weather
Since engine version: 1.0 OC

Description

Returns the current climate. This is the median, constant temperature. Actual temperature is calculated by adding the current season and TemperatureRange.

Syntax

int GetClimate();

Remark

The current weather temperature is "Climate - TemperatureRange * cos(Season * Pi / 50)" - the actual temperature approximates this value at a rate of 1 degree per 35 frames.
See also: GetSeason, GetTemperature, SetClimate
Cucaracha, 2002-05