GetFogDistance - Weather

Revision as of 07:52, 27 August 2013 by imported>CraftySentinel (Created page with "__NOTOC__ __NOEDITSECTION__ '''Requires:''' SKSE 1.06.00 or above. '''Member of:''' Weather Script Returns the fog distance of the weather object of...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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