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

◆ DisableWeatherChange()

void MissionBenchmark::DisableWeatherChange ( )
inlineprotected

См. определение в файле MissionBenchmark.c строка 229

230 {
231 Weather weather = GetGame().GetWeather();
232 weather.SetDynVolFogHeightBias(0,0);
233 weather.SetDynVolFogHeightDensity(0,0);
234 weather.SetDynVolFogDistanceDensity(0,0);
235
236 weather.SetWeatherUpdateFreeze(true);
237 }
proto native Weather GetWeather()
Returns weather controller object.
proto native void SetDynVolFogHeightBias(float value, float time=0)
Sets the 'dynamic' volumetric height bias. Takes effect only if enabled via world config.
proto native void SetDynVolFogDistanceDensity(float value, float time=0)
Sets the dynamic volumetric fog distance density. Only takes effect if dynamic volumetric fog is enab...
proto native void SetDynVolFogHeightDensity(float value, float time=0)
Sets the dynamic volumetric fog height density. Only takes effect if dynamic volumetric fog is enable...
void SetWeatherUpdateFreeze(bool state)
Определения Weather.c:393
proto native CGame GetGame()

Перекрестные ссылки GetGame(), CGame::GetWeather(), Weather::SetDynVolFogDistanceDensity(), Weather::SetDynVolFogHeightBias(), Weather::SetDynVolFogHeightDensity() и Weather::SetWeatherUpdateFreeze().

Используется в Start().