Open main menu
Home
Random
Log in
Settings
About the CreationKit Wiki
Disclaimers
the CreationKit Wiki
Search
Editing
Weather Script
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
'''Extends:''' [[Form Script]] Script for the manipulation of the weather. == Definition == <syntaxhighlight lang="papyrus"> ScriptName Weather extends Form Hidden </syntaxhighlight> == Global Functions == :'''Weather [[FindWeather - Weather|FindWeather]](Int ''auiType'')''' :*Finds a weather from the currently occupied region or climate by the specified type. :'''Weather [[GetCurrentWeather - Weather|GetCurrentWeather]]()''' :*Gets the current weather. :'''Float [[GetCurrentWeatherTransition - Weather|GetCurrentWeatherTransition]]()''' :*Returns a value from 0.0 to 1.0 describing how far in the current weather has transitioned. :'''Weather [[GetOutgoingWeather - Weather|GetOutgoingWeather]]()''' :*Gets the weather which is currently transitioning out. :'''Int [[GetSkyMode - Weather|GetSkyMode]]()''' :*Gets a code representing the mode the sky is currently in. :'''[[ReleaseOverride - Weather|ReleaseOverride()]] :*Tells the sky to release its overriding weather. == Member Functions == :'''[[ForceActive - Weather|ForceActive]](Bool ''abOverride'')''' :*Forces this to be the active weather immediately, without transition. :'''Int [[GetClassification - Weather|GetClassification]]()''' :*Gets the classification code for this weather object. :'''[[SetActive - Weather|SetActive]](Bool ''abOverride'', Bool ''abAccelerate'')''' :*Sets the active weather on the sky to be this weather. == SKSE Member Functions == :'''Float [[GetSunGlare - Weather|GetSunGlare]]()''' :*Gets the sun glare percentage. :'''Float [[GetSunDamage - Weather|GetSunDamage]]()''' :*Gets the sun damage percentage. :'''Float [[GetWindDirection - Weather|GetWindDirection]]()''' :*Gets the wind direction in degrees. :'''Float [[GetWindDirectionRange - Weather|GetWindDirectionRange]]()''' :*Gets the wind direction range in degrees. :'''Float [[GetFogDistance - Weather|GetFogDistance]](Bool ''day'', Int ''type'')''' :*Gets the fog distance of the specified type. [[Category:Scripting]] [[Category:Papyrus]] [[Category:Script Objects]]
Summary:
Please note that all contributions to the CreationKit Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
CreationKit:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)