GetTotalItemWeight - ObjectReference

Revision as of 00:23, 22 March 2015 by imported>Cdcooley
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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