GetTotalItemWeight - ObjectReference

From Creation Kit
Jump to: navigation, search

SKSE Member of: ObjectReference Script

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

Syntax

float Function GetTotalItemWeight() native

Return Value

Returns the total item weight of a ObjectReference.

Examples

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

Notes

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

See Also