Background for Starfield
Member of the Cell script
voidfunctionSetFogColor(intaiNearRed, intaiNearGreen, intaiNearBlue, intaiFarRed, intaiFarGreen, intaiFarBlue)Native

Description

Wiki Description

Sets the near and far fog colors for this cell. Only works in non-sky-lit interiors.

Documentation Comment

Sets the fog color for this cell (interior, non-sky-lit cells only)


Parameters

  1. intaiNearRed

    CK Wiki Description

    The red component of the near color, 0-255. (Clipped to 0 and 255 if above or below the values)

  2. intaiNearGreen

    CK Wiki Description

    The green component of the near color, 0-255. (Clipped to 0 and 255 if above or below the values)

  3. intaiNearBlue

    CK Wiki Description

    The blue component of the near color, 0-255. (Clipped to 0 and 255 if above or below the values)

  4. intaiFarRed

    CK Wiki Description

    The red component of the near color, 0-255. (Clipped to 0 and 255 if above or below the values)

  5. intaiFarGreen

    CK Wiki Description

    The green component of the near color, 0-255. (Clipped to 0 and 255 if above or below the values)

  6. intaiFarBlue

    CK Wiki Description

    The blue component of the near color, 0-255. (Clipped to 0 and 255 if above or below the values)


Examples

; Give this cell fog with a red near color, and a blue far color
FoggyCell.SetFogColor(255, 0, 0, 0, 0, 255)

Auto-Generated Example

int myInt__aiNearRed
int myInt__aiNearGreen
int myInt__aiNearBlue
int myInt__aiFarRed
int myInt__aiFarGreen
int myInt__aiFarBlue

myCell__toCallFunctionOn.SetFogColor(myInt__aiNearRed, myInt__aiNearGreen, myInt__aiNearBlue, myInt__aiFarRed, myInt__aiFarGreen, myInt__aiFarBlue)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.