GetTotalItemWeight - ObjectReference

From the CreationKit Wiki
Revision as of 23:23, 21 March 2015 by imported>Cdcooley
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SKSE Member of: ObjectReference Script

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

Syntax[edit | edit source]

float Function GetTotalItemWeight() native

Return Value[edit | edit source]

Returns the total item weight of a ObjectReference.

Examples[edit | edit source]

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

Notes[edit | edit source]

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

See Also[edit | edit source]