GetTotalArmorWeight - ObjectReference

From Creation Kit
Jump to: navigation, search

SKSE Member of: ObjectReference Script

This Function will return the total armor weight of an ObjectReference.

Syntax

float Function GetTotalArmorWeight() native

Return Value

Returns the total armor weight of a ObjectReference.

Examples

Debug.Trace("The player has a total armor weight of " +Game.GetPlayer().GetTotalArmorWeight())

Notes

  • 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