ambientTemperature: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
mNo edit summary
 
Line 10: Line 10:
|s1= [[ambientTemperature]]
|s1= [[ambientTemperature]]


|r1= [[Array]] - ambient temperature in format [airTemperature, blackSurfaceTemperature, whiteSurfaceTemperature]
|r1= [[Array]] of [[Number]]s in format [airTemperature, blackSurfaceTemperature, whiteSurfaceTemperature]


|x1= <sqf>private _airTemp = ambientTemperature select 0;</sqf>
|x1= <sqf>private _airTemp = ambientTemperature select 0;</sqf>

Latest revision as of 10:49, 28 September 2023

Hover & click on the images for description

Description

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

Syntax

Syntax:
ambientTemperature
Return Value:
Array of Numbers in format [airTemperature, blackSurfaceTemperature, whiteSurfaceTemperature]

Examples

Example 1:
private _airTemp = ambientTemperature select 0;

Additional Information

See also:
forceWeatherChange

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note