Difference between revisions of "GetWarmthRating - Armor"

From the CreationKit Wiki
Jump to navigation Jump to search
m
Line 22: Line 22:
endIf
endIf
</source>
</source>
== See Also ==
*[[UnequipItemSlot - Actor]]

Revision as of 07:15, 12 July 2023

Member of: Armor Script (Requires SSE 1.5.3)

Obtains the "warmth rating" of this piece of armor.

Syntax

float Function GetWarmthRating() native

Parameters

None

Return Value

The current "warmth rating" of the armor.

Examples

if (furArmor.GetWarmthRating() > glassArmor.GetWarmthRating())
  Debug.Trace("The fur armor will keep you warmer than that glass...")
endIf