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

◆ SetInitFog()

void SceneData::SetInitFog ( float value)
inlineprotected

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

251 {
252 m_WeaterInitFog = value;
253 GetGame().GetWeather().GetFog().Set( value, 0, 1000 );
254 }
proto native Weather GetWeather()
Returns weather controller object.
float m_WeaterInitFog
Определения SceneData.c:13
proto native Fog GetFog()
Returns a fog phenomenon object.
proto native void Set(float forecast, float time=0, float minDuration=0)
Sets the forecast.
proto native CGame GetGame()

Перекрестные ссылки Weather::GetFog(), GetGame(), CGame::GetWeather(), m_WeaterInitFog и WeatherPhenomenon::Set().

Используется в PluginConfigHandler::LoadSceneWeather().