# Set Fog Falloff Over Time
Grammar — Set fog’s falloff to falloff over duration seconds
Flags —Native
|Action
Sets the falloff for environmental fog. Falloff determines how far from the fog start height the environmental fog will extend.
# Arguments
fixed
— Fallofffixed
— Duration
Returns — void
native void FogSetFallOffOverTime(fixed f, fixed timeRamp);
# Related
Category: Environment / Fog And Background
- [F] —
void
— Enable/Disable Fog — ( FogSetEnabled ) - [F] —
void
— Enable/Disable Fog At Ultra — ( FogSetDisableAtUltra ) - [F] —
void
— Set Fog Density — ( FogSetDensity ) - [F] —
void
— Set Fog Color — ( FogSetColor ) - [F] —
void
— Set Fog Falloff — ( FogSetFallOff ) - [F] —
void
— Set Fog Start Height — ( FogSetStartHeight ) - [F] —
void
— Set Fog Density Over Time — ( FogSetDensityOverTime ) - [F] —
void
— Set Fog Color Over Time — ( FogSetColorOverTime ) - [F] —
void
— Set Fog Falloff Over Time — ( FogSetFallOffOverTime ) - [F] —
void
— Set Fog Start Height Over Time — ( FogSetStartHeightOverTime ) - [F] —
void
— Set Background Model — ( GameSetBackground )
# Examples
# campaigns/swarm.sc2campaign
// L604
FogSetFallOffOverTime(0.3, lp_dURATION)
// L628
FogSetFallOffOverTime(0.2, lp_dURATION)
// L2436
FogSetFallOffOverTime(0.3, 5.0)
// L5444
FogSetFallOffOverTime(0.28, 4.0)
// L5491
FogSetFallOffOverTime(0.24, 4.0)
// L604
FogSetFallOffOverTime(0.3, lp_dURATION)
// L628
FogSetFallOffOverTime(0.2, lp_dURATION)
// L2436
FogSetFallOffOverTime(0.3, 5.0)
// L5444
FogSetFallOffOverTime(0.28, 4.0)
// L5491
FogSetFallOffOverTime(0.24, 4.0)
// L3362
FogSetFallOffOverTime(0.135, 2.0)
// L5848
FogSetFallOffOverTime(0.135, 4.0)
// L3951
FogSetFallOffOverTime(0.15, 90.0)
// L3362
FogSetFallOffOverTime(0.135, 2.0)
// L5848
FogSetFallOffOverTime(0.135, 4.0)
// L3951
FogSetFallOffOverTime(0.15, 90.0)