setFogDensity
Server export to set the forecast fog overlay
Use this to change the fog overlay for connected players. Values outside the configured range are brought within it. FOGGY weather uses an overlay density of zero.
Usage
local ok = exports["FS-Weather"]:setFogDensity(0.3)Parameters
Prop
Type
Returns
- boolean: False if
Config.FogDensity.Enabledis disabled; true when the state was updated.