Why is it still raining after cancellation?
void main()
{
Hive ce = CreateHive();
if ( ce )
ce.InitOffline();
Weather weather = g_Game.GetWeather();
weather.GetOvercast().SetLimits( 0.0 , 1.0 );
/*weather.GetRain().SetLimits( 0.0 , 1.0 );*/
weather.GetFog().SetLimits( 0.0 , 0.25 );
weather.GetOvercast().SetForecastChangeLimits( 0.0, 0.2 );
/*weather.GetRain().SetForecastChangeLimits( 0.0, 0.1 );*/
weather.GetFog().SetForecastChangeLimits( 0.15, 0.45 );
weather.GetOvercast().SetForecastTimeLimits( 1800 , 1800 );
/*weather.GetRain().SetForecastTimeLimits( 600 , 600 );*/
weather.GetFog().SetForecastTimeLimits( 1800 , 1800 );
weather.GetOvercast().Set( Math.RandomFloatInclusive(0.0, 0.3), 0, 0);
/*weather.GetRain().Set( Math.RandomFloatInclusive(0.0, 0.2), 0, 0);*/
weather.GetFog().Set( Math.RandomFloatInclusive(0.0, 0.1), 0, 0);
weather.SetWindMaximumSpeed(15);
weather.SetWindFunctionParams(0.1, 0.3, 50);
}
Please help me, how to cancel the rainy days