GetWarmthRating - Light

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Light Script (Requires SSE 1.5.3)

Obtains the light's current "warmth rating"

Syntax[edit | edit source]

float Function GetWarmthRating() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

The current "warmth rating" of the light.

Examples[edit | edit source]

if (torch.GetWarmthRating() > 0)
  Debug.Trace("The torch will keep you warm")
endIf

See Also[edit | edit source]