Is called every time the Phenomenon computes new forecast.
- Заметки
- Called on server only.
- Аргументы
-
change | Computed change of forecast value. |
time | Seconds when the next forecast will be computed. |
- Возвращает
- True when script modifies state of this phenomenon false otherwise.
См. определение в файле Weather.c строка 125
126 {
127
128 Weather weather =
g_Game.GetWeather();
129
131 return false;
132
133
134 Mission currentMission =
g_Game.GetMission();
135
136 if ( currentMission )
137 {
139 if ( worldData )
140 {
142 }
143 }
144
145 return false;
146 }
proto native float GetActual()
proto native EWeatherPhenomenon GetType()
Returns type of this phenomenon.
bool WeatherOnBeforeChange(EWeatherPhenomenon type, float actual, float change, float time)
Перекрестные ссылки g_Game, GetActual(), Weather::GetMissionWeather(), GetType(), Mission::GetWorldData() и WorldData::WeatherOnBeforeChange().