UCC Reference

UI_get_weather

int UI_get_weather()

Returns the current weather state. Return values are:

Return

A numeric value indicating what the current weather is. Possible values are:

Parameter / value Description
CLEAR_WEATHER = 0 No clouds, no precipitation.
SNOWING = 1 Snowing.
RAIN = 2 Raining
SPARKLE = 3 Magical storm, causes magic to fail.
FOG = 4 Nothing happens.
OVERCAST = 5 Light cloud cover.
CLOUDY = 6 Heavy cloud cover.

Related intrinsics

Full intrinsic reference | Reference definitions