The SWE script is a part of Skyrim SE’s Papyrus scripting ecosystem. This script is not present in the vanilla game, but can be found in modded sources like Dynamic Wetness (Dynamic Wetness).
For this script, the Papyrus index knows about:
- 14 functions
- 14 properties
Inheritance Tree
No indexed scripts extend this script.
Properties
dynamicwetness
- intcat_skin_face=1
- intcat_hair=2
- intcat_armor_cloth=4
- intcat_weapon=8
- intcat_mask_4bit=15
- intflag_passthrough=65536
- intflag_no_autodry=131072
- intflag_zero_base=262144
- intmask_skin_passthrough=458753
- intenv_water=1
- intenv_wet_weather=2
- intenv_near_heat=4
- intenv_under_roof=8
- intenv_exterior_open=16
Events
No events found.
Functions
- Found in:
- Dynamic Wetness
voidfunctionSetExternalWetness(ActorakActor, stringkey, floatvalue, floatdurationSec=-1)NativeGlobalSet/update an external source (default category = Skin).
durationSec <= 0 => infinite until cleared.- Found in:
- Dynamic Wetness
voidfunctionSetExternalWetnessMask(ActorakActor, stringkey, floatvalue, floatdurationSec=-1, intcatMask=1)NativeGlobalSet/replace value AND categories/flags for this key.
IMPORTANT: catMask contains both categories (low 4 bits) AND flags (high bits).
Example: Int m = CAT_SKIN_FACE + CAT_HAIR + FLAG_PASSTHROUGH- Found in:
- Dynamic Wetness
voidfunctionSetExternalWetnessEx(ActorakActor, stringkey, floatvalue, floatdurationSec, intcatMask, floatmaxGloss=-1, floatmaxSpec=-1, floatminGloss=-1, floatminSpec=-1, floatglossBoost=-1, floatspecBoost=-1, floatskinHairMul=-1)NativeGlobalExtended variant with optional per-material overrides.
Any negative override value => ignore (do not force/override).- Found in:
- Dynamic Wetness
Remove this external source (key is trimmed & lowercased internally).
- Found in:
- Dynamic Wetness
Raw: base wetness computed from water/rain etc. (0..1), before external sources.
- Found in:
- Dynamic Wetness
Final: wetness after categories/blending/external sources (0..1).
- Found in:
- Dynamic Wetness
Value of a specific external source key (0..1), 0 if not present.
- Found in:
- Dynamic Wetness
True if water contact is strong enough (alias of "in water" check).
- Found in:
- Dynamic Wetness
Submerged fraction (0 = dry, 1 = fully submerged).
- Found in:
- Dynamic Wetness
True if precipitation (rain/snow) is active and relevant for actor.
- Found in:
- Dynamic Wetness
True if actor is under roof/cover (heuristic).
- Found in:
- Dynamic Wetness
True if actor is near a heat source; radius in world units.
Pass 0.0 to use the mod's configured radius.- Found in:
- Dynamic Wetness
True if actor is in exterior and not covered (i.e., exposed).
- Found in:
- Dynamic Wetness
Bitmask of environment flags (see ENV_* above).
