Skip to content

tes3weather⚓︎

A structure that contains base weather information shared by inheriting weather structures.

Properties⚓︎

ambientDayColor⚓︎

The weather's ambient day color. The values can range from 0 to 1.

Returns:


ambientLoopSound⚓︎

The weather's ambient looping sound. The current ambient sound should be changed by setting ambientLoopSoundId.

Returns:


ambientLoopSoundId⚓︎

The weather's ambient looping sound ID. This can be changed, and the sound will switch over when the weather is active.

Returns:

  • result (string)

ambientNightColor⚓︎

The weather's ambient night color. The values can range from 0 to 1.

Returns:


ambientPlaying⚓︎

The weather's ambient playing flag.

Returns:

  • result (boolean)

ambientSunriseColor⚓︎

The weather's ambient sunrise color. The values can range from 0 to 1.

Returns:


ambientSunsetColor⚓︎

The weather's ambient sunset color. The values can range from 0 to 1.

Returns:


cloudsMaxPercent⚓︎

The weather's cloud maximum percentage.

Returns:

  • result (number)

cloudsSpeed⚓︎

The weather's cloud speed.

Returns:

  • result (number)

cloudTexture⚓︎

The weather's cloud texture path.

Returns:

  • result (string)

controller⚓︎

Read-only. The weather's weather controller.

Returns:


fogDayColor⚓︎

The weather's fog day color. The values can range from 0 to 1.

Returns:


fogNightColor⚓︎

The weather's fog night color. The values can range from 0 to 1.

Returns:


fogSunriseColor⚓︎

The weather's fog sunrise color. The values can range from 0 to 1.

Returns:


fogSunsetColor⚓︎

The weather's fog sunset color. The values can range from 0 to 1.

Returns:


glareView⚓︎

The weather's glare view.

Returns:

  • result (number)

index⚓︎

Read-only. The weather's index ID. Maps to values in the tes3.weather table.

Returns:


landFogDayDepth⚓︎

The weather's land fog day depth value.

Returns:

  • result (number)

landFogNightDepth⚓︎

The weather's land fog night depth value.

Returns:

  • result (number)

name⚓︎

Read-only. The weather's user-friendly name, hardcoded in English to match the INI settings name. These values can be "Ashstorm", "Blight", "Blizzard", "Clear", "Cloudy", "Foggy", "Overcast", "Rain", "Snow", or "Thunderstorm" as appropriate.

Returns:

  • result (string)

skyDayColor⚓︎

The weather's sky day color. The values can range from 0 to 1.

Returns:


skyNightColor⚓︎

The weather's sky night color. The values can range from 0 to 1.

Returns:


skySunriseColor⚓︎

The weather's sky sunrise color. The values can range from 0 to 1.

Returns:


skySunsetColor⚓︎

The weather's sky sunset color. The values can range from 0 to 1.

Returns:


sunDayColor⚓︎

The weather's sun day color. The values can range from 0 to 1.

Returns:


sundiscSunsetColor⚓︎

The weather's sundisc sunset color. The values can range from 0 to 1.

Returns:


sunNightColor⚓︎

The weather's sun night color. The values can range from 0 to 1.

Returns:


sunSunriseColor⚓︎

The weather's sun sunrise color. The values can range from 0 to 1.

Returns:


sunSunsetColor⚓︎

The weather's sun sunset color. The values can range from 0 to 1.

Returns:


transitionDelta⚓︎

The weather's transition delta.

Returns:

  • result (number)

underwaterSoundState⚓︎

The weather's underwater sound state flag. This value will be true, while the player is underwater.

Returns:

  • result (boolean)

windSpeed⚓︎

The weather's wind speed.

Returns:

  • result (number)

Methods⚓︎

isValid⚓︎

Checks to see if the object still points to valid memory. This should be done any time when the object may have been deleted since the variable's last use (e.g. in timer callbacks).

myObject:isValid()