GetTotalArmorWeight - ObjectReference
Revision as of 00:19, 22 June 2013 by imported>Bot Owned (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' ObjectReference Script This Function will return the total armor weight of an ObjectRe...")
SKSE Member of: ObjectReference Script
This Function will return the total armor weight of an ObjectReference.
Syntax[edit | edit source]
float Function GetTotalArmorWeight() native
Return Value[edit | edit source]
Returns the total armor weight of a ObjectReference.
Examples[edit | edit source]
Debug.Trace("The player has a total armor weight of " +Game.GetPlayer().GetTotalArmorWeight())
Notes[edit | edit source]
- This function only works when run on the player.
- The Total Armor weight is the combined weight of all items that have a armor rating (even if that armor rating is 0) within the references container