GetWarmthRating - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script (Requires SSE 1.5.3)

Obtains the actor's current "warmth rating" (taking into account what they have equipped)

Syntax

float Function GetWarmthRating() native

Parameters

None

Return Value

The current "warmth rating" of the actor.

Examples

float playersWarmth = Game.GetPlayer().GetWarmthRating()
float benorsWarmth = BenorActor.GetWarmthRating()
if (playersWarmth > benorsWarmth)
  Debug.Trace("The player is dressed better for cold weather than Benor is")
endIf

See Also