GetWarmthRating - Light

From the CreationKit Wiki
Revision as of 16:00, 3 October 2017 by imported>Jlundin (Created page with "Category:Scripting Category:Papyrus '''Member of:''' Light Script ''(Requires SSE 1.5.3)'' Obtains the light's current "warmth rating" == Syntax == <source lang=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]