GetTotalItemWeight - ObjectReference

SKSE Member of: ObjectReference Script

This Function will return the total item weight of a ObjectReference.

SyntaxEdit

float Function GetTotalItemWeight() native

Return ValueEdit

Returns the total item weight of a ObjectReference.

ExamplesEdit

Debug.Trace("The items the player is currently carrying weigh a combined total of " + Game.GetPlayer().GetTotalItemWeight())

NotesEdit

  • This function now works correctly on all containers and actors starting with SKSE version 1.7.2.

See AlsoEdit