Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:17.4.0

Description

Description: Overrides the air temperature (in Celsius) for the scenario. Air temperature affects thermal imaging and projectile flight path while the Advanced Ballistics Model is active.

Syntax

Syntax: setAirTemperature airTemperature
Parameters:
  • airTemperature : Number - Air temperature in Celsius. A value lower than -1000 resets the air temperature to default (the default value depends on the terrain and time of day).
Return Value: Nothing

Examples

Examples:
setAirTemperature 20 // Set air temperature to 20 Celsius degrees. 
setAirTemperature -1000 // Reset air temperature to default. 

Additional Information

See also: setAirPressure, getTemperatureWhite, getTemperatureBlack, getTemperatureAir, getAirPressure, getFCSParams, setFCSParams
Multiplayer: 
Problems: 

Notes