GetTotalArmorWeight - ObjectReference

From the CreationKit Wiki
Jump to navigation Jump to search

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

See Also[edit | edit source]