Background for Skyrim SE
Member of the Weather script
floatfunctionGetSunDamage()Native

Description

Wiki Description

Returns the sun damage percentage of the weather object.

Documentation Comment

Returns the sun damage percentage


Caveats

CK Wiki - Notes

  • The value returned will always be between 0.0 and 1.0, with 0.0 being no Sun damage and 1.0 being maximum Sun damage.
  • Sun damage is the damage that vampires receive during daylight hours (5am - 7pm).

Examples

Weather property SkyrimCO Auto ;Filled by SkyrimCO weather form.

float sunDamage = SkyrimCO.GetSunDamage()
Debug.Trace("SkyrimCO has a Sun damage factor of " + (sunDamage ")

Auto-Generated Example

float returnedValue = myWeather__toCallFunctionOn.GetSunDamage()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.