Arma 3 Scripting

Command in Environment

ambientTemperature

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns ambient temperature on the current terrain in Celsius in format: [airTemperature, blackSurfaceTemperature, whiteSurfaceTemperature]

Syntax

ambientTemperature

Returns: Array of Numbers in format [airTemperature, blackSurfaceTemperature, whiteSurfaceTemperature]

Examples

Example 1

private _airTemp = ambientTemperature select 0;

See also

forceWeatherChange