GetTotalItemWeight - ObjectReference

Revision as of 00:10, 22 June 2013 by imported>Bot Owned (→‎Examples)

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 only works when run on the player, using it on any other actor or container reference will return a 0.

See Also