GetClimate

Category: Environment / Weather
Since engine version: 4.6.5.0 CP

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, Mai 2002