ambientTemperature: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.06 |branch= dev |gr1= Environment |descr= Returns ambient temperature on the current terrain in Celsius in format: [airTemperat...")
 
m (Text replacement - " \|([ps][0-9]+) *= " to " |$1= ")
Line 9: Line 9:
|descr= Returns ambient temperature on the current terrain in Celsius in format: [airTemperature, blackSurfaceTemperature, whiteSurfaceTemperature]
|descr= Returns ambient temperature on the current terrain in Celsius in format: [airTemperature, blackSurfaceTemperature, whiteSurfaceTemperature]


|s1= [[ambientTemperature]]
|s1= [[ambientTemperature]]


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

Revision as of 00:30, 11 August 2021

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.06.

Description

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

Syntax

Syntax:
ambientTemperature
Return Value:
Array - ambient temperature 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