DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SetRainThresholds()

proto native void Weather::SetRainThresholds ( float tMin,
float tMax,
float tTime )
private

Sets overcast threshold values for rain phenomena.

Rain can start only if actual overcast value is in given range of <tMin, tMax>. If it's already raining and actual overcast value gets out of given range then rain will stop in given tTime seconds.

Default values are: tMin = 0.6 tMax = 1 tTime = 30

Аргументы
tMinMinimal overcast value (in range <0, 1>).
tMaxMaximal overcast value (in range <0, 1>).
tTimeTime in seconds when it stops raining.