NWN2Wiki
Advertisement
// Sets the fog amount in the area specified.
// nFogType = FOG_TYPE_* specifies wether the Sun, Moon, or both fog types are set.
// nFogAmount = specifies the density that the fog is being set to.
// If no valid area (or object) is specified, it uses the area of caller.
// If an object other than an area is specified, will use the area that the object is currently in.
void SetFogAmount(int nFogType, int nFogAmount, object oArea=OBJECT_INVALID)

WARNING: This function is missing from NWN2 and thus any script which is imported that uses this function will fail to compile. It is believed that the SetFog() function should be used instead

Advertisement