ambientTemperature: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |game1= arma3 |version1= 2.06 |branch= dev " to " |game1= arma3 |version1= 2.06 ") |
BrettMayson (talk | contribs) mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.06 | |version1= 2.06 | ||
|gr1= Environment | |gr1= Environment | ||
Line 9: | Line 10: | ||
|s1= [[ambientTemperature]] | |s1= [[ambientTemperature]] | ||
|r1= [[Array]] | |r1= [[Array]] of [[Number]]s in format [airTemperature, blackSurfaceTemperature, whiteSurfaceTemperature] | ||
|x1= < | |||
|x1= <sqf>private _airTemp = ambientTemperature select 0;</sqf> | |||
|seealso= [[forceWeatherChange]] | |seealso= [[forceWeatherChange]] | ||
}} | }} |
Latest revision as of 10:49, 28 September 2023
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:
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