- Found in:
- Dynamic Wetness
voidfunctionSetExternalWetnessMask(ActorakActor, stringkey, floatvalue, floatdurationSec=-1, intcatMask=1)NativeGlobal
Description
Documentation Comment
Set/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
Caveats
Parameters
Examples
Auto-Generated Example
Actor myActor__akActor
string myString__key
float myFloat__value
float myFloat__durationSec
int myInt__catMask
SWE.SetExternalWetnessMask(myActor__akActor, myString__key, myFloat__value, myFloat__durationSec, myInt__catMask)