Weather Functions

ace_weather_fnc_setTemperatureShift

Description

Sets an additional temperature shift that is applied on top of the simulated temperature. The shift can be applied instantly or transitioned linearly over time, similar to setOvercast. Must be called on the server. Takes effect with the next weather update. For an instant change, ace_weather_temperatureShiftAPI can also be set directly on the server (overwritten by an ongoing transition).

Parameters

Index Description Datatype(s) Default Value
0 Temperature shift in degrees Celsius NUMBER 0
1 Transition duration in seconds, less than 1 is instant NUMBER 0
2 Unique identifier STRING ””

Return Value

Description Datatype(s)
UID STRING

Example

[-5, 600] call ace_weather_fnc_setTemperatureShift

Authors

  • OverlordZorn