class WeatherPhenomenonSource
Weather phenomenon
Constructors 2
private void WeatherPhenomenon()private void ~WeatherPhenomenon()Methods 13
proto native EWeatherPhenomenon GetType()Returns type of this phenomenon.
proto native float GetActual()Returns actual value of phenomenon in range <0, 1>. (does not apply for Wind, which always returns the magnitude values)
Show 26 more
, EnochData.WeatherOnBeforeChange(), Environment.CollectAndSetEnvironmentData(), FireplaceBase.Cooling(), FireplaceBase.Heating(), FireplaceBase.IsRainingAboveEntity(), GardenBase.CheckRainTick(), MiscGameplayFunctions.GetCombinedSnowfallWindValue(), PlantBase.Init(), RainProcurementHandler.DetermineAmountCoef(), RainProcurementManager.RainProcurementCheck(), SakhalData.CalculateVolFog(), SakhalData.Init(), SakhalData.WeatherOnBeforeChange(), ScriptConsoleWeatherTab.InitValues(), ScriptConsoleWeatherTab.UpdateWeatherValues(), UIPopupScriptSceneManager.OnOpen(), UIPopupScriptSceneManager.ResetSliders(), UIPopupScriptSceneSettings.OnOpen(), UIPopupScriptSceneSettings.ResetSliders(), WeaponParticlesBase.OnActivate(), Weather.GetNoiseReductionByWeather(), OnBeforeChange(), WorldData.ComputeSnowflakeScale(), WorldData.GetTemperature(), WorldData.GetTemperatureComponentValue(), and WorldData.WindEffectTemperatureValue()proto native float GetForecast()Returns a forecast value the phenomenon is heading towards.
Show 2 more
, SakhalData.CalculateWind(), and SakhalData.WeatherOnBeforeChange()Sets the forecast.
forecast- Desired forecast value that should be met in given time.
time- A time of the next change (how long it takes in seconds to interpolate to given value).
minDuration- A minimal time in seconds the change will last.
Show 13 more
, DayZIntroScene.DayZIntroScene(), DayZIntroSceneXbox.DayZIntroSceneXbox(), EnochData.Init(), EnochData.WeatherOnBeforeChange(), SakhalData.Init(), SakhalData.WeatherOnBeforeChange(), SceneData.SetInitFog(), SceneData.SetInitOvercast(), SceneData.SetInitRain(), UIPopupScriptSceneManager.OnChange(), UIPopupScriptSceneManager.OnClick(), UIPopupScriptSceneSettings.OnChange(), and UIPopupScriptSceneSettings.OnClose()proto native float GetNextChange()Reads the time in seconds when the next forecast will be computed.
proto native void SetNextChange(float time)Sets the time in seconds when the next forecast will be computed.
Reads limits of this phenomenon.
fnMin- Function minimum (in range <0, 1>).
fnMax- Function maximum (in range <0, 1>).
Sets limits of this phenomenon.
Actual value of this phenomenon will be always held in range <fnMin, fnMax>.
Default values are: fnMin = 0 fnMax = 1
fnMin- Function minimum (in range <0, 1>).
fnMax- Function maximum (in range <0, 1>).
Reads limits of change when forecast is computed.
fcMin- Forecast change minimum (in range <0, 1>).
fcMax- Forecast change maximum (in range <0, 1>).
Sets limits of change when forecast is computed.
These limits govern how much the forecast value can change when it is computed by weather controller.
Default values are: fcMin = 0 fcMax = 1
fcMin- Forecast change minimum (in range <0, 1>).
fcMax- Forecast change maximum (in range <0, 1>).
Reads time range in which next forecast can be computed.
ftMin- Minimal number of seconds.
ftMax- Maximal number of seconds.
Sets time range in which next forecast can be computed.
Default values are: ftMin = 300 (5 minutes) ftMax = 3600 (1 hour)
ftMin- Minimal number of seconds.
ftMax- Maximal number of seconds.
Is called every time the Phenomenon computes new forecast.
change- Computed change of forecast value.
time- Seconds when the next forecast will be computed.
Returns: True when script modifies state of this phenomenon false otherwise.