Mod:Creation Kit/GetInventoryValue - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Returns the value of this reference's inventory.

Syntax
int Function GetInventoryValue native

Parameters

 * None

Return Value
The value of all items in this reference's inventory.

Examples
if (BossChest.GetInventoryValue > 100) Debug.Trace("The boss chest contains items of value! (Or a lot of cheap junk...)") endIf