Advertisement
cesigleywv

weather2

Dec 15th, 2018
1,765
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Weather weather = g_Game.GetWeather();
  2.  
  3.  
  4. weather.MissionWeather(true); // false = use weather controller from Weather.c
  5.  
  6.  
  7. weather.GetOvercast().Set( Math.RandomFloatInclusive(0.0, 0.0), 0, 0);
  8. weather.GetRain().Set( 0, 0, 0);
  9. weather.GetFog().Set( Math.RandomFloatInclusive(0.0, 0.0), 0, 0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement