ambientTemperature: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \|([ps][0-9]+) *= " to " |$1= ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
|version1= 2.06 | |version1= 2.06 | ||
|gr1= Environment | |gr1= Environment | ||
Line 12: | Line 11: | ||
|r1= [[Array]] - ambient temperature in format [airTemperature, blackSurfaceTemperature, whiteSurfaceTemperature] | |r1= [[Array]] - ambient temperature in format [airTemperature, blackSurfaceTemperature, whiteSurfaceTemperature] | ||
|x1= < | |||
|x1= <sqf>private _airTemp = ambientTemperature select 0;</sqf> | |||
|seealso= [[forceWeatherChange]] | |seealso= [[forceWeatherChange]] | ||
}} | }} |
Revision as of 18:36, 5 May 2022
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:
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