GetWarmthRating - Actor
Jump to navigation
Jump to 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[edit | edit source]
float Function GetWarmthRating() native
Parameters[edit | edit source]
None
Return Value[edit | edit source]
The current "warmth rating" of the actor.
Examples[edit | edit source]
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