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
134 return true;
135
136
137 Mission currentMission =
g_Game.GetMission();
138
139 if ( currentMission )
140 {
142 if ( worldData )
143 {
145 }
146 }
147
148 return false;
149 }
bool GetWeatherUpdateFrozen()
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(), Weather::GetWeatherUpdateFrozen(), Mission::GetWorldData() и WorldData::WeatherOnBeforeChange().