GetInventoryValue - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: 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

See Also