weather

Blitz3D Forums/Blitz3D Beginners Area/weather

Agamer(Posted 2003) [#1]
I need a piece of code that will random a waether each day how would i do this


GfK(Posted 2003) [#2]
Const SUNNY = 1
Const RAINING = 2
Const CLOUDY = 3
Const SNOWING = 4

Weather = rand(1,4)

Select Weather
  Case SUNNY
    Draw_Sun()
  Case RAINING
    Make_Rain()
  Case CLOUDY
    Draw_Clouds()
  Case SNOWING
    Make_Snow()
End Select



Agamer(Posted 2003) [#3]
thanks