y2krazy
Community Developer
- Joined
- Jun 21, 2011
- Messages
- 2,803
Running this in the Console:
Returns this:
However, if I am in a zone with a weather name that is not in the above dictionary and run the following:
I get this:
Code:
foreach(var item in WorldManager.WeatherDictionary)
{
Log("ID: {0} | Type: {1}",item.Key,item.Value);
}
Returns this:
Code:
ID: 0 | Type:
ID: 1 | Type: Clear Skies
ID: 2 | Type: Sunshine
ID: 3 | Type: Clouds
ID: 4 | Type: Fog
ID: 5 | Type: Wind
ID: 6 | Type: Gales
ID: 7 | Type: Rain
ID: 8 | Type: Showers
ID: 9 | Type: Thunder
ID: 10 | Type: Thunderstorms
ID: 11 | Type: Dust Storms
ID: 12 | Type: Sandstorms
ID: 13 | Type: Hot Spells
ID: 14 | Type: Heat Waves
ID: 15 | Type: Snow
ID: 16 | Type: Blizzards
ID: 17 | Type: Gloom
ID: 18 | Type: Auroras
ID: 19 | Type: Darkness
ID: 20 | Type: Tension
ID: 21 | Type: Clouds
ID: 22 | Type: Storm Clouds
ID: 23 | Type: Rough Seas
ID: 24 | Type: Rough Seas
ID: 25 | Type: Louring
ID: 26 | Type: Heat Waves
ID: 27 | Type: Gloom
ID: 28 | Type: Gales
ID: 29 | Type: Eruptions
ID: 30 | Type: Sunshine
ID: 31 | Type: Sunshine
ID: 32 | Type: Sunshine
ID: 33 | Type: Sunshine
ID: 34 | Type: Sunshine
ID: 35 | Type: Irradiance
ID: 36 | Type: Core Radiation
ID: 37 | Type: Core Radiation
ID: 38 | Type: Core Radiation
ID: 39 | Type: Core Radiation
ID: 40 | Type:
However, if I am in a zone with a weather name that is not in the above dictionary and run the following:
Code:
Log("Weather: {0}",WorldManager.CurrentWeather);
Log("WeatherId: {0}",WorldManager.CurrentWeatherId);
I get this:
Code:
Weather:
WeatherId: 49