GetWarmthRating - Actor
Revision as of 15:42, 3 October 2017 by imported>Jlundin (Created page with "Category:Scripting Category:Papyrus '''Member of:''' Actor Script ''(Requires SSE 1.5.3)'' Obtains the actor's current "warmth rating" (taking into account what t...")
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