GetFogDistance - Weather

From Creation Kit
Jump to: navigation, search

Requires: SKSE 1.06.00 or above.

Member of: Weather Script


Returns the fog distance of the weather object of the specified type.

Syntax

float Function GetFogDistance(bool day, int type) native

Parameters

day

Determines whether to use day-time or night-time values. true for day-time fog values, false for night-time fog values.

type

There are four different types of fog each type is represented by an integer, the types are as follows: Near(0), Far(1), Pow(2) and Max(3).

Return Value

The weather object's fog distance for the specified type.


See Also